diff options
author | Erwan Velu <erwan@mandriva.org> | 2003-06-11 16:12:03 +0000 |
---|---|---|
committer | Erwan Velu <erwan@mandriva.org> | 2003-06-11 16:12:03 +0000 |
commit | d26f8ce1016a70a6174d7164f7369ea326ef43a6 (patch) | |
tree | cddd239ff98ed0fb10e4c0dd57f9edb8d87730fd | |
parent | 28a3e18625a8b6b2b0029ec801a9bb112eaae552 (diff) | |
download | drakx-d26f8ce1016a70a6174d7164f7369ea326ef43a6.tar drakx-d26f8ce1016a70a6174d7164f7369ea326ef43a6.tar.gz drakx-d26f8ce1016a70a6174d7164f7369ea326ef43a6.tar.bz2 drakx-d26f8ce1016a70a6174d7164f7369ea326ef43a6.tar.xz drakx-d26f8ce1016a70a6174d7164f7369ea326ef43a6.zip |
removing wrong file
-rwxr-xr-x | kernel/gen_modules_conf.pl.pl | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/kernel/gen_modules_conf.pl.pl b/kernel/gen_modules_conf.pl.pl deleted file mode 100755 index e842eafa0..000000000 --- a/kernel/gen_modules_conf.pl.pl +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/perl - -use list_modules; - -my %kinds = ( - scsi => 'disk/scsi|hardware_raid', - network => 'network/main|usb', -); - -my %kinds2all_modules = map { - $_ => [ list_modules::category2modules($kinds{$_}) ]; -} keys %kinds; - -$kinds2all_modules{usb} = [ qw(usb-uhci usb-ohci ehci-hcd) ]; - -use Data::Dumper; -print Data::Dumper->Dump([\%kinds2all_modules], ['$kinds2all_modules']); - -print <<'EOF'; -my @l = map { /^(\S+)\s*:/ ? $1 : () } `lspcidrake`; - -my %kinds2modules = map { - $_ => [ intersection(\@l, $kinds2all_modules->{$_}) ]; -} keys %$kinds2all_modules; - -if (my @scsi = @{$kinds2modules{scsi}}) { - print "probeall scsi_hostadapter ", join(" ", @scsi), "\n"; -} -if (my @usb = @{$kinds2modules{usb}}) { - print "probeall usb-interface ", join(" ", @usb), "\n"; -} -my $eth = 0; -foreach (@{$kinds2modules{network}}) { - print "alias eth$eth $_\n"; - $eth++; -} - -sub intersection { my (%l, @m); @l{@{shift @_}} = (); foreach (@_) { @m = grep { exists $l{$_} } @$_; %l = (); @l{@m} = () } keys %l } -EOF - |