hal/hald/linux2 blockdev.c,1.17,1.18

David Zeuthen david at freedesktop.org
Mon Jul 11 10:32:08 PDT 2005


Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv28822/hald/linux2

Modified Files:
	blockdev.c 
Log Message:
2005-07-11  David Zeuthen  <davidz at redhat.com>

        * hald/linux2/blockdev.c (hotplug_event_begin_add_blockdev): Cards
        on the MMC bus got an incorrect storage.drive_type. Patch from
        Pierre Ossman <drzeus at drzeus.cx>.



Index: blockdev.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/blockdev.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- blockdev.c	27 Jun 2005 19:13:03 -0000	1.17
+++ blockdev.c	11 Jul 2005 17:32:05 -0000	1.18
@@ -839,6 +839,8 @@
 				}
 			}
 
+		} else if (strcmp (parent_bus, "mmc") == 0) {
+			hal_device_property_set_string (d, "storage.drive_type", "sd_mmc");
 		}
 
 		hal_device_property_set_string (d, "info.category", "storage");




More information about the hal-commit mailing list