summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-22 14:49:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-22 14:49:53 +0000
commit96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f (patch)
treebfdc20801a296d8dbce88a0a56c9b3b12cc1b63a
parent3f764edf4c9bc918339d1189b4dfd04a8791a3c0 (diff)
downloaddrakx-96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f.tar
drakx-96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f.tar.gz
drakx-96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f.tar.bz2
drakx-96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f.tar.xz
drakx-96a4ea5b4c5f51a8c2cf94429e9bfd18cf62b65f.zip
have pci usb controllers sorted alphabetically
-rwxr-xr-xmdk-stage1/usb-resource/update-usb-ids.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/usb-resource/update-usb-ids.pl b/mdk-stage1/usb-resource/update-usb-ids.pl
index 187c7f5c0..ae934c1b5 100755
--- a/mdk-stage1/usb-resource/update-usb-ids.pl
+++ b/mdk-stage1/usb-resource/update-usb-ids.pl
@@ -23,7 +23,8 @@ print "struct pci_module_map usb_pci_ids[] = {
";
-while (my ($k, $v) = each %$pci) {
+foreach my $k (sort keys %$pci) {
+ my $v = $pci->{$k};
$v->[0] =~ /^usb-|^ehci-hcd|^ohci1394/ or next;
$k =~ /^(....)(....)/;
printf qq|\t{ 0x%s, 0x%s, "", "%s" },\n|,