Functions | |
char * | scsi_host_compute_udi (HalDevice *d, int append_num) |
This function will compute the device uid based on other properties of the device. | |
char * | scsi_device_compute_udi (HalDevice *d, int append_num) |
This function will compute the device uid based on other properties of the device. | |
void | visit_class_device_scsi_host_got_parent (HalDevice *parent, void *data1, void *data2) |
Callback when the parent is found or if there is no parent.. | |
void | visit_class_device_scsi_host (const char *path, struct sysfs_class_device *class_device) |
Visitor function for SCSI host. | |
void | visit_class_device_scsi_device_got_parent (HalDevice *parent, void *data1, void *data2) |
Callback when the parent is found or if there is no parent.. | |
void | visit_class_device_scsi_device (const char *path, struct sysfs_class_device *class_device) |
Visitor function for SCSI device. | |
void | linux_class_scsi_init () |
Init function for SCSI handling. | |
void | linux_class_scsi_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_class_scsi_shutdown () |
Shutdown function for SCSI handling. |
|
This function will compute the device uid based on other properties of the device. For SCSI device it is the {host, bus, target, lun} tupple
Definition at line 87 of file linux_class_scsi.c. References ds_property_get_int(), and HalDevice. Referenced by visit_class_device_scsi_device_got_parent(). |
|
This function will compute the device uid based on other properties of the device. For SCSI hosts it is the host number
Definition at line 60 of file linux_class_scsi.c. References ds_property_get_int(), and HalDevice. Referenced by visit_class_device_scsi_host_got_parent(). |
|
Visitor function for SCSI device. This function parses the attributes present and creates a new HAL device based on this information.
Definition at line 226 of file linux_class_scsi.c. References ds_device_async_find_by_key_value_string(), ds_device_new(), ds_property_set_int(), ds_property_set_string(), get_last_element(), get_parent_sysfs_path(), HAL_LINUX_HOTPLUG_TIMEOUT, HalDevice, is_probing, and visit_class_device_scsi_device_got_parent(). Referenced by visit_class_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 289 of file linux_class_scsi.c. References ds_device_destroy(), ds_device_find(), ds_gdl_add(), ds_property_set_bool(), ds_property_set_string(), find_and_set_physical_device(), HalDevice, rename_and_merge(), scsi_device_compute_udi(), and HalDevice_s::udi. Referenced by visit_class_device_scsi_device(). |
|
Visitor function for SCSI host. This function parses the attributes present and creates a new HAL device based on this information.
Definition at line 123 of file linux_class_scsi.c. References ds_device_async_find_by_key_value_string(), ds_device_new(), ds_property_set_int(), ds_property_set_string(), get_last_element(), get_parent_sysfs_path(), HAL_LINUX_HOTPLUG_TIMEOUT, HalDevice, is_probing, and visit_class_device_scsi_host_got_parent(). Referenced by visit_class_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 180 of file linux_class_scsi.c. References ds_device_destroy(), ds_device_find(), ds_gdl_add(), ds_property_set_bool(), ds_property_set_string(), find_and_set_physical_device(), HalDevice, rename_and_merge(), scsi_host_compute_udi(), and HalDevice_s::udi. Referenced by visit_class_device_scsi_host(). |