Functions | |
char * | ide_compute_udi (HalDevice *d, int append_num) |
This function will compute the device uid based on other properties of the device. | |
char * | ide_host_compute_udi (HalDevice *d, int append_num) |
This function will compute the device uid based on other properties of the device. | |
void | visit_device_ide_host_got_parent (HalDevice *parent, void *data1, void *data2) |
Callback when the parent is found or if there is no parent.. | |
void | visit_device_ide_host (const char *path, struct sysfs_device *device) |
Visitor function for IDE host. | |
void | visit_device_ide_got_parent (HalDevice *parent, void *data1, void *data2) |
Callback when the parent is found or if there is no parent.. | |
void | visit_device_ide (const char *path, struct sysfs_device *device) |
Visitor function for IDE. | |
void | linux_ide_init () |
Init function for IDE handling. | |
void | linux_ide_detection_done () |
This function is called when all device detection on startup is done in order to perform optional batch processing on devices. | |
void | linux_ide_shutdown () |
Shutdown function for IDE handling. |
|
This function will compute the device uid based on other properties of the device. For an IDE device it's simply ide appended with the channel and sub_channel
Definition at line 61 of file linux_ide.c. References ds_property_get_int(), and HalDevice. Referenced by visit_device_ide_got_parent(). |
|
This function will compute the device uid based on other properties of the device. For an IDE host device it's simply ide_host appended with the host number
Definition at line 88 of file linux_ide.c. References ds_property_get_int(), and HalDevice. Referenced by visit_device_ide_host_got_parent(). |
|
Visitor function for IDE. This function parses the attributes present and creates a new HAL device based on this information.
Definition at line 209 of file linux_ide.c. References ds_device_async_find_by_key_value_string(), ds_device_new(), ds_property_set_int(), ds_property_set_string(), get_parent_sysfs_path(), HAL_LINUX_HOTPLUG_TIMEOUT, HalDevice, is_probing, and visit_device_ide_got_parent(). Referenced by visit_device(). |
|
Callback when the parent is found or if there is no parent.. This is where we get added to the GDL..
Definition at line 262 of file linux_ide.c. References ds_device_find(), ds_gdl_add(), ds_property_set_bool(), ds_property_set_string(), find_and_set_physical_device(), HalDevice, ide_compute_udi(), rename_and_merge(), and HalDevice_s::udi. Referenced by visit_device_ide(). |
|
Visitor function for IDE host. This function parses the attributes present and creates a new HAL device based on this information.
Definition at line 116 of file linux_ide.c. References ds_device_async_find_by_key_value_string(), ds_device_new(), ds_property_set_int(), ds_property_set_string(), get_parent_sysfs_path(), HAL_LINUX_HOTPLUG_TIMEOUT, HalDevice, is_probing, and visit_device_ide_host_got_parent(). Referenced by visit_device(). |
|
Callback when the parent is found or if there is no parent.. This is where we get added to the GDL..
Definition at line 170 of file linux_ide.c. References ds_device_find(), ds_gdl_add(), ds_property_set_bool(), ds_property_set_string(), find_and_set_physical_device(), HalDevice, ide_host_compute_udi(), rename_and_merge(), and HalDevice_s::udi. Referenced by visit_device_ide_host(). |