![]()  | 
  
    RTEMS
    5.1
    
   | 
 
#include <drvmgr.h>
Data Fields | |
| int | obj_type | 
| unsigned char | bus_type | 
| unsigned char | depth | 
| struct drvmgr_bus * | next | 
| struct drvmgr_dev * | dev | 
| void * | priv | 
| struct drvmgr_dev * | children | 
| struct drvmgr_bus_ops * | ops | 
| struct drvmgr_func * | funcs | 
| int | dev_cnt | 
| struct drvmgr_bus_res * | reslist | 
| struct drvmgr_map_entry * | maps_up | 
| struct drvmgr_map_entry * | maps_down | 
| int | level | 
| int | state | 
| int | error | 
Bus information. Describes a bus.
| unsigned char drvmgr_bus::bus_type | 
Type of bus
| struct drvmgr_dev* drvmgr_bus::children | 
Hardware devices on this bus
| unsigned char drvmgr_bus::depth | 
Bus level distance from root bus
| struct drvmgr_dev* drvmgr_bus::dev | 
Bus device, the hardware...
| int drvmgr_bus::dev_cnt | 
Number of devices this bus has
| int drvmgr_bus::error | 
Return code from bus->ops->initN()
| struct drvmgr_func* drvmgr_bus::funcs | 
Extra operations
| int drvmgr_bus::level | 
Initialization Level of Bus
| struct drvmgr_map_entry* drvmgr_bus::maps_down | 
Map Translation, array of address spaces downstreams to Hardware
| struct drvmgr_map_entry* drvmgr_bus::maps_up | 
Map Translation, array of address spaces upstreams to CPU
| struct drvmgr_bus* drvmgr_bus::next | 
Next Bus
| int drvmgr_bus::obj_type | 
DRVMGR_OBJ_BUS
| struct drvmgr_bus_ops* drvmgr_bus::ops | 
Bus operations supported by this bus driver
| void* drvmgr_bus::priv | 
Private data structure used by BUS driver
| struct drvmgr_bus_res* drvmgr_bus::reslist | 
Bus resources, head of a linked list of resources.
| int drvmgr_bus::state | 
Init State of Bus, BUS_STATE_*
 1.8.15