From 1fcce06d8f3f8cfe8c59563dd64d92fc5d71cc85 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 10 Feb 2005 10:58:31 +0000 Subject: add various/laptop category (only toshiba is detectable by pci_probe() though...) --- kernel/list_modules.pm | 5 ++++- perl-install/modules.pm | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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}; -- cgit v1.2.1