![]() |
RTEMS 6.1
|
#include <drvmgr.h>
Data Fields | |
| int | obj_type |
| struct drvmgr_dev * | next |
| struct drvmgr_dev * | next_in_bus |
| struct drvmgr_dev * | next_in_drv |
| struct drvmgr_drv * | drv |
| struct drvmgr_bus * | parent |
| short | minor_drv |
| short | minor_bus |
| char * | name |
| void * | priv |
| void * | businfo |
| struct drvmgr_bus * | bus |
| unsigned int | state |
| int | level |
| int | error |
Device information
| struct drvmgr_bus* drvmgr_dev::bus |
Pointer to bus, set only if this is a bridge
| void* drvmgr_dev::businfo |
Host bus specific information
| struct drvmgr_drv* drvmgr_dev::drv |
The driver owning this device
| int drvmgr_dev::error |
Error state returned by driver
| int drvmgr_dev::level |
Init Level
| short drvmgr_dev::minor_bus |
Device number on bus (for device separation)
| short drvmgr_dev::minor_drv |
Device number within driver
| char* drvmgr_dev::name |
Name of Device Hardware
| struct drvmgr_dev* drvmgr_dev::next |
Next device
| struct drvmgr_dev* drvmgr_dev::next_in_bus |
Next device on the same bus
| struct drvmgr_dev* drvmgr_dev::next_in_drv |
Next device using the same driver
| int drvmgr_dev::obj_type |
DRVMGR_OBJ_DEV
| struct drvmgr_bus* drvmgr_dev::parent |
Bus that this device resides on
| void* drvmgr_dev::priv |
Pointer to driver private device structure
| unsigned int drvmgr_dev::state |
State of device, see DEV_STATE_*