summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-03 17:01:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-03 17:01:46 +0000
commit9cac0d55f3a70f14a12f784ebf725ac4977d5ef6 (patch)
treee0ab154a37454e5ef154a1f92739acd554b7db2e /kernel
parent210c93bb35fd87ada9cdeb6546763d9cfe344c9f (diff)
downloaddrakx-9cac0d55f3a70f14a12f784ebf725ac4977d5ef6.tar
drakx-9cac0d55f3a70f14a12f784ebf725ac4977d5ef6.tar.gz
drakx-9cac0d55f3a70f14a12f784ebf725ac4977d5ef6.tar.bz2
drakx-9cac0d55f3a70f14a12f784ebf725ac4977d5ef6.tar.xz
drakx-9cac0d55f3a70f14a12f784ebf725ac4977d5ef6.zip
move and rename network::ethernet::get_eth_categories() into list_modules::ethernet_categories()
(it's closer to the definition of the categories)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/list_modules.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 8c868ec93..e233e7690 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -251,6 +251,10 @@ sub module2category {
return;
}
+sub ethernet_categories() {
+ 'network/main|gigabit|pcmcia|usb|wireless|firewire';
+}
+
sub sub_categories {
my ($t1) = @_;
keys %{$l{$t1}};