From 49b0b68a271f5d30908363215bc121c378c248c6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 29 Sep 2005 10:47:02 +0000 Subject: keep 2.4 compatibility aliases in modules list for stage1 --- kernel/modules.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/modules.pl b/kernel/modules.pl index 761834dc3..7e925d62a 100644 --- a/kernel/modules.pl +++ b/kernel/modules.pl @@ -216,6 +216,8 @@ sub pci_modules4stage1 { my @list = map { s/\.k?o.*$//; $_ } get_main_modules(); my %listed; @listed{@list} = (); + #- keep 2.4 compatibility aliases (to sync with get_name_kernel_26_transition() from mdk-stage1/modules.c) + @listed{qw(usb-ohci usb-uhci uhci bcm4400 3c559 3c90x dc395x_trm)} = (); my @modules = difference2([ category2modules($category) ], \@modules_removed_from_stage1); my ($kept, $rejected) = partition { exists $listed{$_} } @modules; print STDERR "REJECTED @$rejected\n" if $verbose; -- cgit v1.2.1