Lines 9-14
Link Here
|
9 |
{ |
9 |
{ |
10 |
hal_device_property_set_string(device, "storage.bus", "usb"); |
10 |
hal_device_property_set_string(device, "storage.bus", "usb"); |
11 |
hal_device_property_set_string(device, "storage.originating_device", hal_device_get_udi(parent)); |
11 |
hal_device_property_set_string(device, "storage.originating_device", hal_device_get_udi(parent)); |
|
|
12 |
@@ -301,7 +301,7 @@ |
13 |
|
14 |
driver = hal_device_property_get_string(child, "freebsd.driver"); |
15 |
/* ATAPI devices: CD-ROM (acd), tape (ast) or floppy (afd) */ |
16 |
- if (! driver || (strcmp(driver, "acd") && strcmp(driver, "ast") && strcmp(driver, "afd"))) |
17 |
+ if (! driver || (strcmp(driver, "acd") && strcmp(driver, "ast") && strcmp(driver, "afd") && strcmp(driver, "cd"))) |
18 |
continue; |
19 |
|
20 |
phys_device = hal_device_property_get_string(child, "storage.originating_device"); |
12 |
@@ -508,6 +508,16 @@ |
21 |
@@ -508,6 +508,16 @@ |
13 |
if (! parent || ! hal_device_property_get_bool(parent, "info.ignore")) |
22 |
if (! parent || ! hal_device_property_get_bool(parent, "info.ignore")) |
14 |
{ |
23 |
{ |