summaryrefslogtreecommitdiffstats
path: root/convert
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-03 11:11:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-03 11:11:18 +0000
commitc782d6b7f9987764492c707e9eda0a4dde5643c1 (patch)
treeef45c0b1a2f9e54b4d50264b5bcd348224acd89d /convert
parent4f88a39130b76e82ed6134b397299ddbabf78d9d (diff)
downloadldetect-lst-c782d6b7f9987764492c707e9eda0a4dde5643c1.tar
ldetect-lst-c782d6b7f9987764492c707e9eda0a4dde5643c1.tar.gz
ldetect-lst-c782d6b7f9987764492c707e9eda0a4dde5643c1.tar.bz2
ldetect-lst-c782d6b7f9987764492c707e9eda0a4dde5643c1.tar.xz
ldetect-lst-c782d6b7f9987764492c707e9eda0a4dde5643c1.zip
get descriptions back from pci.ids if needed
Diffstat (limited to 'convert')
-rwxr-xr-xconvert/merge2pcitable.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 71f6fa91..01c78b07 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -261,6 +261,7 @@ sub merge {
my ($drivers, $new) = @_;
foreach (keys %$new) {
+ $drivers->{$_}[1] = $new->{$_}[1] if !$drivers->{$_}[1];
next if $new->{$_}[0] =~ /parport_pc|i810_ng/;
if ($drivers->{$_}) {
if ($new->{$_}[0] ne "unknown") {