Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

IEEE1394
[Linux 2.6 support]

IEEE1394. More...

Functions

char * ieee1394_compute_udi (HalDevice *d, int append_num)
 This functions computes the device UDI based on other properties of the device.

void visit_device_ieee1394_got_parent (HalDevice *parent, void *data1, void *data2)
 Callback when the parent is found or if there is no parent..

void extract_properties (struct sysfs_device *device, HalDevice *d)
void add_capabilities (HalDevice *d)
void visit_device_ieee1394 (const char *path, struct sysfs_device *device)
 Visitor function for IEEE1394 device.

void linux_ieee1394_init ()
 Init function for IEEE1394 handling.

void linux_ieee1394_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_ieee1394_shutdown ()
 Shutdown function for IEEE1394 handling.


Detailed Description

IEEE1394.


Function Documentation

char* ieee1394_compute_udi HalDevice d,
int  append_num
[static]
 

This functions computes the device UDI based on other properties of the device.

For IEEE1394, this uses the bus identifier.

Parameters:
d HalDevice object
append_num Number to append to name if not -1
Returns:
New unique device id; only good until the next invocation of this function

Definition at line 59 of file linux_ieee1394.c.

References ds_property_get_string(), and HalDevice.

Referenced by visit_device_ieee1394_got_parent().

void visit_device_ieee1394 const char *  path,
struct sysfs_device *  device
 

Visitor function for IEEE1394 device.

This function parses the attributes present and creates a new HAL device based on this information.

Parameters:
path Sysfs-path for device
device libsysfs object for device

Definition at line 240 of file linux_ieee1394.c.

References drivers_lookup(), ds_device_async_find_by_key_value_string(), ds_device_new(), ds_property_set_string(), get_parent_sysfs_path(), HAL_LINUX_HOTPLUG_TIMEOUT, HalDevice, is_probing, and visit_device_ieee1394_got_parent().

void visit_device_ieee1394_got_parent HalDevice parent,
void *  data1,
void *  data2
[static]
 

Callback when the parent is found or if there is no parent..

This is where we get added to the GDL..

Parameters:
parent Async Return value from the find call
data1 User data
data2 User data

Definition at line 84 of file linux_ieee1394.c.

References ds_device_find(), ds_gdl_add(), ds_property_set_string(), HalDevice, ieee1394_compute_udi(), rename_and_merge(), and HalDevice_s::udi.

Referenced by visit_device_ieee1394().


Generated on Sat Feb 7 22:11:52 2004 for HAL by doxygen 1.3.5