summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/detect_devices.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4b0e55d26..5d9679476 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -3,6 +3,9 @@
- diskdrake:
o fix resizing/formatting ntfs (broken because of ntfs-3g switch in previous
release)
+- detect_devices:
+ o provide sysfs device path on Firewire and PCMCIA bus
+ (to be able to fix #33950 in drakx-net)
Version 10.9 - 5 March 2008
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);
}