diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-03 11:11:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-03 11:11:18 +0000 |
commit | c782d6b7f9987764492c707e9eda0a4dde5643c1 (patch) | |
tree | ef45c0b1a2f9e54b4d50264b5bcd348224acd89d /convert/merge2pcitable.pl | |
parent | 4f88a39130b76e82ed6134b397299ddbabf78d9d (diff) | |
download | ldetect-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/merge2pcitable.pl')
-rwxr-xr-x | convert/merge2pcitable.pl | 1 |
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") { |