summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconvert/merge2pcitable.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index c1607abd..4c690877 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -116,12 +116,12 @@ sub read_pciids {
} elsif (my ($subid1, $subid2, $text) = /^\t\t(\S+)\s+(\S+)\s+(.*)/) {
$text =~ s/\t/ /g;
$id1 && $id2 or die "$f $line: unexpected device\n";
- $drivers{"$id1$id2$subid1$subid2"} = [ "unknown", "$class|$text" ];
+ $drivers{lc "$id1$id2$subid1$subid2"} = [ "unknown", "$class|$text" ];
} elsif (/^\t(\S+)\s+(.*)/) {
($id2, $text) = ($1, $2);
$text =~ s/\t/ /g;
$id1 && $id2 or die "$f $line: unexpected device\n";
- $drivers{"$id1${id2}ffffffff"} = [ "unknown", "$class|$text" ];
+ $drivers{lc "$id1${id2}ffffffff"} = [ "unknown", "$class|$text" ];
} elsif (/^(\S+)\s+(.*)/) {
$id1 = $1;
$class = $class{$2} || $2;