summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 13:08:15 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 13:08:15 +0000
commit22f526402a9982e444af1508f1b1dd43efa28b31 (patch)
tree9d56cf72c96f88d33c692dd86678dd52e9e3ead4 /perl-install
parentdcd0d1426d5eb0dbc63a901f90576ea3d56fb995 (diff)
downloaddrakx-backup-do-not-use-22f526402a9982e444af1508f1b1dd43efa28b31.tar
drakx-backup-do-not-use-22f526402a9982e444af1508f1b1dd43efa28b31.tar.gz
drakx-backup-do-not-use-22f526402a9982e444af1508f1b1dd43efa28b31.tar.bz2
drakx-backup-do-not-use-22f526402a9982e444af1508f1b1dd43efa28b31.tar.xz
drakx-backup-do-not-use-22f526402a9982e444af1508f1b1dd43efa28b31.zip
(pci_probe__real) let modules returned by modaliases be back compatible
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm1
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d7b1327b6..d2a794fae 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -773,6 +773,7 @@ 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});
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 5e2f25c7e..e8fd57a28 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix detecting sound cards
+
Version 10.4.164 - 9 August 2007, by Pascal "Pixel" Rigaux
- cache PCI probe results