diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-18 05:44:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-18 05:44:25 +0000 |
commit | 6b69393d2b0c2911f486ca6c0046ccf6e1a3f238 (patch) | |
tree | d0f131da5b1d5ae7f370b0cd3411242eee1a7990 /perl-install/modules.pm | |
parent | 94f257d030c1fd411ec48e438db18c657cd97e40 (diff) | |
download | drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.gz drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.bz2 drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.xz drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.zip |
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index facef09c9..5f6de00f8 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -272,12 +272,13 @@ arch() !~ /^sparc/ ? ( "serial" => "serial", "qpmouse" => "qpmouse", "atixlmouse" => "atixlmouse", - - "usb-uhci", "USB (uhci)", - "usb-ohci", "USB (ohci)", - "usb-ohci-hcd", "USB (ohci-hcd)", ) : (), }], +[ 'usb', { + "usb-uhci" => "USB (uhci)", + "usb-ohci" => "USB (ohci)", + "usb-ohci-hcd" => "USB (ohci-hcd)", +}], [ 'fs', { "smbfs" => "Windows SMB", "fat" => "fat", @@ -381,7 +382,6 @@ sub load { -d "/proc/scsi/usb" or return; } if ($type) { - add_alias('usb-interface', $name) if $type =~ /SERIAL_USB/i; add_alias('scsi_hostadapter', $name), load('sd_mod') if $type =~ /scsi/ || $type eq $type_aliases{scsi}; } $conf{$name}{options} = join " ", @options if @options; @@ -532,7 +532,8 @@ sub load_thiskind { !($@ && $_->{try}); } get_that_type($type, $pcic), $type =~ /scsi/ && arch() !~ /sparc/ ? - (map { +{ driver => $_, description => $_, try => 1 } } "usb-storage", "imm", "ppa") : (); + (map { +{ driver => $_, description => $_, try => 1 } } + get_alias("usb-interface") ? "usb-storage" : (), "imm", "ppa") : (); } sub get_that_type { |