summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 14:23:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 14:23:46 +0000
commit94b3d991f8bdadf1519c556e3b8e02a0f1816b8a (patch)
tree637779da59c867910732a2c343e003bc8826131f /perl-install/detect_devices.pm
parent7614bf7ac9b6163f47b9492d013aba6ed71319af (diff)
downloaddrakx-94b3d991f8bdadf1519c556e3b8e02a0f1816b8a.tar
drakx-94b3d991f8bdadf1519c556e3b8e02a0f1816b8a.tar.gz
drakx-94b3d991f8bdadf1519c556e3b8e02a0f1816b8a.tar.bz2
drakx-94b3d991f8bdadf1519c556e3b8e02a0f1816b8a.tar.xz
drakx-94b3d991f8bdadf1519c556e3b8e02a0f1816b8a.zip
update ppc kernel modules detection & loading
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f0456bdc7..e1f585a0d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -831,6 +831,8 @@ sub usbMice() { grep { $_->{media_type} =~ /\|Mouse/ && $_->{driver} !~ /wa
sub usbWacom() { grep { $_->{driver} =~ /wacom/ } usb_probe() }
sub usbKeyboards() { grep { $_->{media_type} =~ /\|Keyboard/ } usb_probe() }
sub usbStorage() { grep { $_->{media_type} =~ /Mass Storage\|/ } usb_probe() }
+sub has_mesh() { find { /mesh/ } all_files_rec("/proc/device-tree") }
+sub has_53c94() { find { /53c94/ } all_files_rec("/proc/device-tree") }
sub usbKeyboard2country_code {
my ($usb_kbd) = @_;