hal/hald/linux platform_bus_device.c,1.2,1.3
David Zeuthen
david at pdx.freedesktop.org
Thu Jul 8 14:18:10 PDT 2004
Update of /cvs/hal/hal/hald/linux
In directory pdx:/tmp/cvs-serv28925/hald/linux
Modified Files:
platform_bus_device.c
Log Message:
2004-07-08 David Zeuthen <david at fubar.dk>
* hald/linux/platform_bus_device.c (platform_device_pre_process):
Introduce the x86 legacy floppy into THE CITY OF LOST DEVICES both
info.parent- and storage.device-wise
Index: platform_bus_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/platform_bus_device.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- platform_bus_device.c 5 Jul 2004 18:21:07 -0000 1.2
+++ platform_bus_device.c 8 Jul 2004 21:18:08 -0000 1.3
@@ -137,6 +137,14 @@
hal_device_property_set_string (d, "storage.vendor", "");
hal_device_property_set_string (d, "storage.model", "Floppy Drive");
+ hal_device_property_set_string (
+ d, "storage.physical_device",
+ "/org/freedesktop/Hal/devices/fakeroot");
+
+ hal_device_property_set_string (
+ d, "info.parent",
+ "/org/freedesktop/Hal/devices/fakeroot");
+
hal_device_add_capability (d, "block");
hal_device_add_capability (d, "storage");
hal_device_add_capability (d, "storage.floppy");
More information about the hal-commit
mailing list