diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-22 11:27:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-22 11:27:16 +0000 |
commit | 12f94a380466ec3a55d20cdef129b87ef9f2e2c4 (patch) | |
tree | 668535d09ac433175c10955c5db0d0bca053df1b /perl-install | |
parent | 9759e6587e6bae5522c56aeabe69d0330a2a2079 (diff) | |
download | drakx-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar drakx-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.gz drakx-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.bz2 drakx-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.xz drakx-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.zip |
split usb ports from usb controllers (arnaud request)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/harddrake/data.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index c2662cdfa..f49e3b2eb 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -307,7 +307,16 @@ our @tree = string => N("USB controllers"), icon => "usb.png", configurator => "", - detector => sub { f(grep { $_->{media_type} =~ /SERIAL_USB|Hub/ } @devices) }, + detector => sub { f(grep { $_->{media_type} eq 'SERIAL_USB' } @devices) }, + checked_on_boot => 0, + }, + + { + class => "USB_HUB", + string => N("USB ports"), + icon => "usb.png", + configurator => "", + detector => sub { f(grep { $_->{media_type} =~ /Hub/ } @devices) }, checked_on_boot => 0, }, |