hal/hald Makefile.am,1.23,1.24
Joe Shaw
joe at pdx.freedesktop.org
Tue May 25 13:09:31 PDT 2004
Update of /cvs/hal/hal/hald
In directory pdx:/tmp/cvs-serv17367/hald
Modified Files:
Makefile.am
Log Message:
2004-05-25 Joe Shaw <joeshaw at novell.com>
* hald/Makefile.am: Add the ieee1394 class devices.
* hald/linux/block_class_device.c: Replace use of locally defined
AsyncInfo with ClassAsyncData.
* hald/linux/bus_device.c: Replace use of locally defined
AsyncInfo with BusAsyncData.
* hald/linux/class_device.c: Replace use of locally defined
AsyncInfo with ClassAsyncData.
(class_device_accept): Check here if the class device has a
sysdevice and reject it if it doesn't.
(class_device_visit): Don't check for it here. If it is NULL, set
merge_or_add to FALSE so that we don't try to merge it onto a fake
device. If the sysdevice is NULL, set the parent sysfs path to
"(none)", which will match our fake parent device.
(class_device_final): Take a third argument for merge_or_add and
check it instead of the ClassDeviceHandler's default behavior.
* hald/linux/ieee1394_class_device.c,
hald/linux/ieee1394_host_class_device.c,
hald/linux/ieee1394_node_class_device.c: New IEEE1394 class device
implementation. Seems to even work somewhat on some small subset
of the world's computers.
* hald/linux/net_class_device.c (net_class_pre_process): If there
is an address, set the net.address property to it, regardless of
what type of net device it is.
(net_class_accept): Added. Allows us to have net class devices
without an associated sysdevice. Only allow it if it's an
ethernet device for now.
(net_class_compute_udi): Added. Needed in situations where the
class device has no sysdevice, we need to generate a UDI since we
aren't merging onto a parent device.
* hald/linux/osspec.c: Reenable the ieee1394 class device
handlers.
(osspec_probe): Create a fake root device to be the parent for all
of our sysdevice-less devices. It's a virtual device, has the UDI
"/org/freedesktop/Hal/devices/fakeroot", and the sysfs path device
of "(none)".
* tools/device-manager/Const.py.in (BUS_NAMES): Add "unknown" to
the list of known bus names.
Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/hald/Makefile.am,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- a/Makefile.am 1 May 2004 19:29:17 -0000 1.23
+++ b/Makefile.am 25 May 2004 20:09:29 -0000 1.24
@@ -45,6 +45,9 @@
linux/ide_bus_device.c \
linux/pcmcia_socket_class_device.c \
linux/macio_bus_device.c \
+ linux/ieee1394_class_device.c \
+ linux/ieee1394_node_class_device.c \
+ linux/ieee1394_host_class_device.c \
linux/linux_dvd_rw_utils.h linux/linux_dvd_rw_utils.c
# linux/ieee1394_host_class_device.c
More information about the hal-commit
mailing list