hal/hald/linux block_class_device.c,1.86.2.9,1.86.2.10

David Zeuthen david at freedesktop.org
Fri May 20 17:21:13 PDT 2005


Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv6557/hald/linux

Modified Files:
      Tag: hal-0_4-stable-branch
	block_class_device.c 
Log Message:
2005-05-20  David Zeuthen  <davidz at redhat.com>

        * hald/linux/block_class_device.c (cdrom_get_properties): Here is
        a fix for the dvdram entry in hal (0.4.x and 0.5.x).  Currently
        the correct default key (storage.cdrom.dvdram = false) is created
        but if the device can write dvdram, hal add a new key named
        "storage.dvdram". Patch from Danny Kukawka <danny.kukawka at web.de>.



Index: block_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/Attic/block_class_device.c,v
retrieving revision 1.86.2.9
retrieving revision 1.86.2.10
diff -u -d -r1.86.2.9 -r1.86.2.10
--- block_class_device.c	28 Mar 2005 19:15:19 -0000	1.86.2.9
+++ block_class_device.c	21 May 2005 00:21:11 -0000	1.86.2.10
@@ -350,7 +350,7 @@
 		hal_device_property_set_bool (d, "storage.cdrom.dvdr", TRUE);
 	}
 	if (capabilities & CDC_DVD_RAM) {
-		hal_device_property_set_bool (d, "storage.dvdram", TRUE);
+		hal_device_property_set_bool (d, "storage.cdrom.dvdram", TRUE);
 	}
 	
 	/* while we're at it, check if we support media changed */




More information about the hal-commit mailing list