Main Page | Data Structures | File List | Data Fields | Globals

axis_component_instance Struct Reference

#include <axis_pci.h>

Collaboration diagram for axis_component_instance:

Collaboration graph
[legend]

Detailed Description

associates a axis_pci_device_entry with a integer which can be used to identify individual components

To allow a large number of sub devices (individual switches etc) to share common code and to identify themselves using the single private member or the /proc callback data we create a structure that ties an integer index and a pointer back to the physical device together. We add an array of these structures to the physical device properties. We can then stash pointers to these arrays in /proc data and file structures and work out mid call back which sub port to reference


Data Fields

axis_pci_device_entrythis_device
int subdevice_number


Field Documentation

int axis_component_instance::subdevice_number
 

index to use to identify subdevice

struct axis_pci_device_entry* axis_component_instance::this_device
 

axis_pci_device_entry master hardware control structure


The documentation for this struct was generated from the following file:
Generated on Fri Jan 28 12:37:35 2005 for Axis Kernel Driver by doxygen 1.3.6