summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-02-23 17:51:16 +0000
committerOlivier Blin <oblin@mandriva.com>2010-02-23 17:51:16 +0000
commite9560b7d4e99c90dfab33649706b36e3e47c0a00 (patch)
treece286d374af9f3f2f85d366155b1fb42322fe51e /perl-install/detect_devices.pm
parentf0b58677396b6abb04555f5ade619367807305d8 (diff)
downloaddrakx-e9560b7d4e99c90dfab33649706b36e3e47c0a00.tar
drakx-e9560b7d4e99c90dfab33649706b36e3e47c0a00.tar.gz
drakx-e9560b7d4e99c90dfab33649706b36e3e47c0a00.tar.bz2
drakx-e9560b7d4e99c90dfab33649706b36e3e47c0a00.tar.xz
drakx-e9560b7d4e99c90dfab33649706b36e3e47c0a00.zip
- detect_devices:
o fix merging PCI devices info from sysfs which resulted in ill-informed devices matching (#57711)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 8ed37c67e..a28c4fc49 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -707,7 +707,7 @@ sub get_ids_from_sysfs_device {
my $usb_root = -f "$dev_path/bInterfaceNumber" && "../" || -f "$dev_path/idVendor" && "";
my $is_pcmcia = -f "$dev_path/card_id";
my $sysfs_ids;
- my $bus = get_sysfs_field_from_link($dev_path, "bus");
+ my $bus = get_sysfs_field_from_link($dev_path, "subsystem");
#- FIXME: use $bus
if ($is_pcmcia) {
$sysfs_ids = { modalias => $dev_cat->('modalias') };