summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-10 10:58:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-10 10:58:31 +0000
commit1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85 (patch)
treedf24e0a1bef5110760704bfa21b6928e3f9ff1bb
parentcd43abb12fae8df14cef1e5d5ca3ee0996358194 (diff)
downloaddrakx-1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85.tar
drakx-1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85.tar.gz
drakx-1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85.tar.bz2
drakx-1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85.tar.xz
drakx-1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85.zip
add various/laptop category (only toshiba is detectable by pci_probe() though...)
-rw-r--r--kernel/list_modules.pm5
-rw-r--r--perl-install/modules.pm1
2 files changed, 5 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 0e2e16eb0..113953663 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -196,7 +196,10 @@ our %l = (
char => [
if_(arch() =~ /ia64/, qw(efivars)),
qw(hw_random applicom n_r3964 nvram pc110pad ppdev),
- qw(mxser moxa isicom wdt_pci epca synclink istallion sonypi i810-tco sx), #- what are these???
+ qw(mxser moxa isicom wdt_pci epca synclink istallion i810-tco sx), #- what are these???
+ ],
+ laptop => [
+ qw(i8k sonypi toshiba),
],
other => [
qw(defxx i810fb ide-floppy ide-scsi ide-tape loop lp nbd sg st),
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 8622b11f7..995b3d216 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -181,6 +181,7 @@ sub write_preload_conf {
push @l, intersection([ qw(bttv cx8800 saa7134) ],
[ map { $_->{driver} } detect_devices::probeall() ]);
push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m;
+ push @l, map { $_->{driver} } probe_category('various/laptop');
my @l_26 = @l;
if (my ($agp) = probe_category('various/agpgart')) {
push @l_26, $agp->{driver};