summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-05 20:48:14 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-05 20:48:14 +0000
commit597121740527fc087b0b82c2efc7c7827d32eac0 (patch)
tree843f0cc7b278adad9547c5a4f92fec050d116bf2 /perl-install/detect_devices.pm
parent39949e5ec43a1a5f3bdf5f6de2f1e5e16bc63cfe (diff)
downloaddrakx-597121740527fc087b0b82c2efc7c7827d32eac0.tar
drakx-597121740527fc087b0b82c2efc7c7827d32eac0.tar.gz
drakx-597121740527fc087b0b82c2efc7c7827d32eac0.tar.bz2
drakx-597121740527fc087b0b82c2efc7c7827d32eac0.tar.xz
drakx-597121740527fc087b0b82c2efc7c7827d32eac0.zip
provide sysfs device path on Firewire and PCMCIA bus (to be able to fix #33950 in drakx-net)
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 5f5d25e19..1f048672d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -821,6 +821,7 @@ sub firewire_probe() {
specifier_id => hex($get->("$dir/specifier_id")),
specifier_version => hex($get->("$dir/version")),
bus => 'Firewire',
+ sysfs_device => $dir,
};
} grep { -f "$dev_dir/$_/specifier_id" } all($dev_dir);
@@ -880,6 +881,7 @@ sub pcmcia_probe() {
if_($modalias, modalias => $modalias),
if_($device, device => $device),
bus => 'PCMCIA',
+ sysfs_device => $dir,
};
} all($dev_dir);
}