summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mageia.org>2013-05-03 16:45:39 +0000
committerAnssi Hannula <anssi@mageia.org>2013-05-03 16:45:39 +0000
commit593bbb705908d1845f79120dbe24681e27c10150 (patch)
treee07ee247cf7b5fd1f007ad962ee6a5aa755fa3ab
parent56c3b83d7aafff163b605f532d913fb26ba3eff4 (diff)
downloadldetect-lst-593bbb705908d1845f79120dbe24681e27c10150.tar
ldetect-lst-593bbb705908d1845f79120dbe24681e27c10150.tar.gz
ldetect-lst-593bbb705908d1845f79120dbe24681e27c10150.tar.bz2
ldetect-lst-593bbb705908d1845f79120dbe24681e27c10150.tar.xz
ldetect-lst-593bbb705908d1845f79120dbe24681e27c10150.zip
merge2pcitable.pl: nvidia_readme: drop unuseful subsystem id
-rwxr-xr-xconvert/merge2pcitable.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 3965b1a0..94be151f 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -399,7 +399,10 @@ sub read_nvidia_readme {
next if /^\s+-+[\s-]+$/;
my ($description, $id, $subid) = /^\s+(.+?)\s+0x(....)(?: 0x(....))?/;
$id = "10de" . lc($id);
- $subid = $subid ? "10de" . lc($subid) : "ffffffff";
+ # not really that useful (all subids belong to same generation anyway)
+ # and just causes more work when updating the lists
+ #$subid = $subid ? "10de" . lc($subid) : "ffffffff";
+ $subid = "ffffffff";
$drivers{$id . $subid} = [ "Card:$card", $description ];
}
\%drivers;