From b89e3cbae5395bb72b0be259b6c302dde941491b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 12 Oct 2001 10:43:16 +0000 Subject: have "other.img" drivers also supported --- mdk-stage1/pci-resource/update-pci-ids.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/pci-resource') diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl index adf143e37..881752aa6 100755 --- a/mdk-stage1/pci-resource/update-pci-ids.pl +++ b/mdk-stage1/pci-resource/update-pci-ids.pl @@ -20,7 +20,7 @@ struct pci_module_map { '; my %t = ( network => [ 'network' ], - medias => [ 'hd', 'cdrom' ] + medias => [ 'hd', 'cdrom', 'other' ] ); my %sanity_check = arch() =~ /ia64/ ? @@ -38,7 +38,7 @@ foreach $type (keys %t) { foreach $marfile (glob("../../all.modules/*/${floppy}_modules.mar")) { -f $marfile or die "\t*FAILED* Sorry, need $marfile mar file\n"; my @modz = `../mar/mar -l $marfile`; - if ($marfile !~ /2\.2\.14/) { + if ($marfile !~ /(2\.2\.14)|(other)/) { foreach $mandatory (@{$sanity_check{$type}}) { grep(/\t$mandatory\.o/, @modz) or die "\t*FAILED* Sanity check should prove that $mandatory.o be part of $marfile\n" } -- cgit v1.2.1