summaryrefslogtreecommitdiffstats
path: root/convert/merge2pcitable.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-27 17:26:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-27 17:26:04 +0000
commit617e556485ea39d8d2acdf9038809c05b9260943 (patch)
tree85efe1d5d59ddb260016850e753bdc7d44f5f8b7 /convert/merge2pcitable.pl
parent94cfcb050516b8385f4c3c4adeccfbe2db4e91dd (diff)
downloadldetect-lst-617e556485ea39d8d2acdf9038809c05b9260943.tar
ldetect-lst-617e556485ea39d8d2acdf9038809c05b9260943.tar.gz
ldetect-lst-617e556485ea39d8d2acdf9038809c05b9260943.tar.bz2
ldetect-lst-617e556485ea39d8d2acdf9038809c05b9260943.tar.xz
ldetect-lst-617e556485ea39d8d2acdf9038809c05b9260943.zip
skip module pci from modules.pcimap
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 a19395a5..0854457d 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -105,6 +105,7 @@ sub read_kernel_pcimap {
chomp;
next if /^#/ || /^\s*$/;
my ($module, $id1, $id2, $subid1, $subid2) = split;
+ next if $module eq 'pci';
($subid1, $subid2) = ("ffff", "ffff") if $subid1 == 0 && $subid2 == 0;
$drivers{join '', map { /(....)$/ } $id1, $id2, $subid1, $subid2} = [ $module, '' ];
}