summaryrefslogtreecommitdiffstats
path: root/convert/merge2pcitable.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-12 13:53:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-12 13:53:09 +0000
commit2b2726c1234940852ff9dbaa9ce34865e8d2cc3e (patch)
treec6d594d9318cbce90a4d803403db302a57168c97 /convert/merge2pcitable.pl
parent989b75a2f203f50f49aaddc5369ebfd6371fc0bd (diff)
downloadldetect-lst-2b2726c1234940852ff9dbaa9ce34865e8d2cc3e.tar
ldetect-lst-2b2726c1234940852ff9dbaa9ce34865e8d2cc3e.tar.gz
ldetect-lst-2b2726c1234940852ff9dbaa9ce34865e8d2cc3e.tar.bz2
ldetect-lst-2b2726c1234940852ff9dbaa9ce34865e8d2cc3e.tar.xz
ldetect-lst-2b2726c1234940852ff9dbaa9ce34865e8d2cc3e.zip
cleanup class AMD
Diffstat (limited to 'convert/merge2pcitable.pl')
-rwxr-xr-xconvert/merge2pcitable.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index bc076e26..a19395a5 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -145,6 +145,7 @@ sub read_pciids {
} elsif (/^(\S+)\s+(.+)/) {
$id1 = $1;
$class = $class{$2} || $2;
+ $class =~ s/(Advanced Micro Devices) \[AMD\]/$1/;
} else {
warn "bad line: $_\n";
}