hal/tools/device-manager Const.py.in,1.14,1.15

David Zeuthen david at freedesktop.org
Sat Jan 22 12:13:44 PST 2005


Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv2337/tools/device-manager

Modified Files:
	Const.py.in 
Log Message:
2005-01-22  David Zeuthen  <davidz at redhat.com>

	* tools/device-manager/Const.py.in: Add pnp and serio to BUS_NAMES

	* hald/linux2/physdev.c: Refactor this file a bit and add support
	for the following bus devices: ide, pnp, serio, pcmcia

	* hald/linux2/ids.h (ids_find_pnp): Add prototype

	* hald/linux2/ids.c (ids_find_pnp): New function; just use
	a hardcoded array and do a slow O(n) search (might want to
	optimize this later)

	* hald/linux2/classdev.c (add_classdev_after_probing): Compute
	UDI may fail; remember to clean up

	* hald/linux2/Makefile.am: Add pcmcia_utils.[ch] as we'll need
	them until sysfs got the right properties

	* hald/linux2/pcmcia_utils.[ch]: New files; imported from old
	backend

	* hald/linux2/pcmcia_cs.h: Ditto



Index: Const.py.in
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Const.py.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Const.py.in	20 Sep 2004 18:31:15 -0000	1.14
+++ Const.py.in	22 Jan 2005 20:13:42 -0000	1.15
@@ -28,8 +28,10 @@
              "scsi"          : "SCSI",
              "block"         : "Block",
              "ide"           : "IDE",
+             "pnp"           : "PNP",
              "ide_host"      : "IDE Host",
              "macio"         : "MacIO",
+             "serio"         : "serio",
              "ieee1394_host" : "IEEE1394 Host",
              "ieee1394_node" : "IEEE1394 Node",
              "serial"        : "Serial",




More information about the hal-commit mailing list