#include <axis_pci.h>
Collaboration diagram for axis_component_instance:

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_entry * | this_device |
| int | subdevice_number |
|
|
index to use to identify subdevice |
|
|
axis_pci_device_entry master hardware control structure |
1.3.6