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

SCSI generic class
[Linux 2.6 support]

SCSI generic class. More...

Functions

void scsi_generic_class_pre_process (ClassDeviceHandler *self, HalDevice *d, const char *sysfs_path, struct sysfs_class_device *class_device)
 This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf.


Variables

ClassDeviceHandler scsi_generic_class_handler
 Method specialisations for input device class.


Detailed Description

SCSI generic class.


Function Documentation

void scsi_generic_class_pre_process ClassDeviceHandler self,
HalDevice *  d,
const char *  sysfs_path,
struct sysfs_class_device *  class_device
[static]
 

This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf.

merge_or_add). This is useful for extracting more information about the device through e.g. ioctl's using the device file property and also for setting info.category|capability.

Parameters:
self Pointer to class members
d The HalDevice object of the instance of this device class
sysfs_path The path in sysfs (including mount point) of the class device in sysfs
class_device Libsysfs object representing class device instance

Definition at line 71 of file scsi_generic_class_device.c.

References hal_device_add_capability().


Variable Documentation

ClassDeviceHandler scsi_generic_class_handler
 

Initial value:

Method specialisations for input device class.

Definition at line 80 of file scsi_generic_class_device.c.


Generated on Sat Apr 24 19:57:51 2004 for HAL by doxygen 1.3.6-20040222