summaryrefslogtreecommitdiffstats
path: root/kernel/list_modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-22 14:15:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-22 14:15:24 +0000
commitc879294087d1f55b5992ff194bae9d0ded78c31a (patch)
treee54ee940894d61a91f93ee69fc66b3e0d08e58ed /kernel/list_modules.pm
parent0a60319a0b805bf9c7dfe191ab2bd64fb0fa60e6 (diff)
downloaddrakx-backup-do-not-use-c879294087d1f55b5992ff194bae9d0ded78c31a.tar
drakx-backup-do-not-use-c879294087d1f55b5992ff194bae9d0ded78c31a.tar.gz
drakx-backup-do-not-use-c879294087d1f55b5992ff194bae9d0ded78c31a.tar.bz2
drakx-backup-do-not-use-c879294087d1f55b5992ff194bae9d0ded78c31a.tar.xz
drakx-backup-do-not-use-c879294087d1f55b5992ff194bae9d0ded78c31a.zip
- no more kernel/all.modules, things are in kernel/all.kernels
- cleanup what we keep in kernel/all.kernels: only vmlinuz, modules.dep, *.mar, all_modules.tar, modules.cz - replace all_modules.list + modules with all_modules.tar - kernel/all.modules/modules.cz-VERSION are now in kernel/all.kernels/VERSION/modules.cz - allow having a normal in isolinux, but don't use it for floppy images (for this, add kernel/all.kernels/.main-BOOT) - add many modules kernel/list_modules.pm in unused categories since we don't take all modules from kernel, only those listed (needed to have a not too big modules.cz for normal kernel) - complete rewrite of update_kernel (now written in perl)
Diffstat (limited to 'kernel/list_modules.pm')
-rw-r--r--kernel/list_modules.pm17
1 files changed, 14 insertions, 3 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 99edf778d..798f87ff0 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -39,7 +39,7 @@ our %l = (
],
raw => [
- qw(ppp_generic ppp_async),
+ qw(ppp_generic ppp_async ppp_deflate bsd_comp),
],
pcmcia => [
qw(3c574_cs 3c589_cs axnet_cs fmvj18x_cs),
@@ -132,7 +132,7 @@ our %l = (
if_(arch() =~ /^ppc/, qw(hfs)),
qw(reiserfs),
],
- various => [ qw(smbfs romfs ext3 xfs) ],
+ various => [ qw(smbfs romfs ext3 xfs jfs ufs) ],
},
@@ -170,10 +170,12 @@ our %l = (
# just here for classification, unused categories (nor auto-detect, nor load_thiskind)
{
raid => [
- qw(linear raid0 raid1 raid5 lvm-mod multipath),
+ qw(linear raid0 raid1 raid5 lvm-mod multipath dm-mod),
],
mouse => [
qw(busmouse msbusmouse logibusmouse serial qpmouse atixlmouse),
+ if_(arch() =~ /ppc/, 'macserial'),
+ qw(hid mousedev usbhid usbmouse),
],
char => [
if_(arch() =~ /ia64/, qw(efivars)),
@@ -185,6 +187,11 @@ our %l = (
qw(parport_pc parport_serial),
qw(btaudio),
+ arch() =~ /i.86/ ? 'aes-i586' : 'aes',
+ if_(arch() =~ /sparc/, 'openprom'),
+
+ qw(wacom evdev), qw(usblp printer),
+
#- these need checking
qw(tmspci rrunner meye),
],
@@ -226,6 +233,10 @@ sub category2modules {
} split(' ', $_[0]);
}
+sub all_modules() {
+ map { @$_ } map { values %$_ } values %l;
+}
+
sub module2category {
my ($module) = @_;
foreach my $t1 (keys %l) {