summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-05 11:49:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-05 11:49:37 +0000
commit19e8dce5b0019cee0d11492df744b4b521355348 (patch)
tree529eb45a96fc10cd8704f7965df7592673876aff /kernel/modules.pl
parentec933fcf2d714afd69425f6a24c091454f591e7c (diff)
downloaddrakx-backup-do-not-use-19e8dce5b0019cee0d11492df744b4b521355348.tar
drakx-backup-do-not-use-19e8dce5b0019cee0d11492df744b4b521355348.tar.gz
drakx-backup-do-not-use-19e8dce5b0019cee0d11492df744b4b521355348.tar.bz2
drakx-backup-do-not-use-19e8dce5b0019cee0d11492df744b4b521355348.tar.xz
drakx-backup-do-not-use-19e8dce5b0019cee0d11492df744b4b521355348.zip
add floppy.o for all boot disks, don't have some 3c isa cards to fit network.img
Diffstat (limited to 'kernel/modules.pl')
-rw-r--r--kernel/modules.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 2092bb6ab..559ecefdb 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -28,6 +28,7 @@ BusLogic seagate fdomain g_NCR5380
my @skip_modules_on_stage1 = (
qw(sktr tmspci ibmtr abyss), # alt token ring
qw(old_tulip rtl8139),
+ qw(3c501 3c503 3c505 3c507 3c515), # unused, hopefully?
if_(arch() =~ /alpha|ppc/, qw(sb1000)),
qw(
tg3 r8169
@@ -43,6 +44,8 @@ my @skip_modules_on_stage1 = (
"u14-34f", #- duplicate from ultrastor.o
);
+my @modules_always_on_stage1 = qw(floppy);
+
my %images = (
network => 'fs/network network/raw bus/pcmcia network/main',
hd => 'disk/raw fs/local|loopback disk/scsi|hardware_raid',
@@ -62,7 +65,7 @@ sub images {
load_dependencies('modules.dep');
while (my ($image, $l) = each %images) {
- my @modules;
+ my @modules = @modules_always_on_stage1;
foreach (split(' ', $l)) {
if (/ONLY_BIG/) {
@modules = intersection(\@modules, \@skip_big_modules_on_stage1);