diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-02-23 17:51:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-02-23 17:51:16 +0000 |
commit | ddbcbe6dd613d2933f6c4be78d00efe55184fb5b (patch) | |
tree | 18db27fce7230bcd28c8edab216b8416224fa25e /perl-install/detect_devices.pm | |
parent | 56d3e3c71940c6f9dc1aeb51dfdeba912f5477f8 (diff) | |
download | drakx-distro/mdv2010.0.tar drakx-distro/mdv2010.0.tar.gz drakx-distro/mdv2010.0.tar.bz2 drakx-distro/mdv2010.0.tar.xz drakx-distro/mdv2010.0.zip |
- detect_devices:distro/mdv2010.0
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.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 74c860f02..814499d9a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -691,7 +691,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') }; |