From 320011471df1627323aa564d63079aeb59f0730b Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Thu, 16 Jun 2022 16:42:39 -0700 Subject: [PATCH] added amd family 10 model detect --- inxi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 27fb53b..0664687 100755 --- a/inxi +++ b/inxi @@ -10825,14 +10825,18 @@ sub cp_cpu_arch { $year = '';} } elsif ($family eq '10'){ - if ($model =~ /^(2|4|5|6|8|9|A)$/){ + if ($model =~ /^(6)$/){ + $arch = 'K10'; # 6:2:Regor + $process = 'AMD 45nm'; + $year = '2009-14';} + elsif ($model =~ /^(2|4|5|8|9|A)$/){ $arch = 'K10'; $process = 'AMD 32-65nm'; - $year = '2007-12';} + $year = '2007-14';} else { $arch = 'K10'; $process = 'AMD 32-65nm'; - $year = '2007-12';} + $year = '2007-14';} } # very loose, all stepping 1: covers athlon x2, sempron, turion x2 # years unclear, could be 2005 start, or 2008 @@ -11346,7 +11350,7 @@ sub cp_cpu_arch { # elsif ($model =~ /^()$/){ # $arch = 'Meteor Lake'; # $process = 'Intel 4';} - # Granite Rapids: INtel 3 (7nm) + # Granite Rapids: Intel 3 (7nm) elsif ($model =~ /^(9E)$/){ if ($stepping == 9){ $arch = 'Kaby Lake';