summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-29 10:47:02 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-29 10:47:02 +0000
commit49b0b68a271f5d30908363215bc121c378c248c6 (patch)
tree4c5742ffffab3dda0a6e8f096e03d4e7c694f29d /kernel
parent18914ad22d09ef2e109efb06ed058b59c22f2038 (diff)
downloaddrakx-49b0b68a271f5d30908363215bc121c378c248c6.tar
drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.gz
drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.bz2
drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.xz
drakx-49b0b68a271f5d30908363215bc121c378c248c6.zip
keep 2.4 compatibility aliases in modules list for stage1
Diffstat (limited to 'kernel')
-rw-r--r--kernel/modules.pl2
1 files changed, 2 insertions, 0 deletions
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;