summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-14 12:47:01 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-14 12:47:01 +0000
commitb1e940bdbf366fa59de790fb870bdeb3e99be471 (patch)
treec1c920eaf97ffcd10f792d670671b9293b903756
parent54f8fce91dba6ec9b4e1c7986080a91820321807 (diff)
downloaddrakx-b1e940bdbf366fa59de790fb870bdeb3e99be471.tar
drakx-b1e940bdbf366fa59de790fb870bdeb3e99be471.tar.gz
drakx-b1e940bdbf366fa59de790fb870bdeb3e99be471.tar.bz2
drakx-b1e940bdbf366fa59de790fb870bdeb3e99be471.tar.xz
drakx-b1e940bdbf366fa59de790fb870bdeb3e99be471.zip
remove hack to replace 'snd_' with 'snd-', it's now done in ldetect
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d2a794fae..d7b1327b6 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -773,7 +773,6 @@ sub pci_probe__real() {
add_addons($pcitable_addons, map {
my %l;
@l{qw(vendor id subvendor subid pci_domain pci_bus pci_device pci_function media_type nice_media_type driver description)} = split "\t";
- $l{driver} =~ s/snd_/snd-/; # FIXME: clean the code instead on post 2008.0
$l{$_} = hex $l{$_} foreach qw(vendor id subvendor subid);
$l{bus} = 'PCI';
$l{sysfs_device} = sprintf('/sys/bus/pci/devices/%04x:%02x:%02x.%d', $l{pci_domain}, $l{pci_bus}, $l{pci_device}, $l{pci_function});