RTEMS: drvmgr_dev Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
drvmgr_dev Struct Reference

`#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

## Detailed Description

Device information

## Field Documentation

## ◆ bus

struct drvmgr_bus* drvmgr_dev::bus

Pointer to bus, set only if this is a bridge

## ◆ businfo

void* drvmgr_dev::businfo

Host bus specific information

## ◆ drv

struct drvmgr_drv* drvmgr_dev::drv

The driver owning this device

## ◆ error

int drvmgr_dev::error

Error state returned by driver

## ◆ level

int drvmgr_dev::level

Init Level

## ◆ minor_bus

short drvmgr_dev::minor_bus

Device number on bus (for device separation)

## ◆ minor_drv

short drvmgr_dev::minor_drv

Device number within driver

## ◆ name

char* drvmgr_dev::name

Name of Device Hardware

## ◆ next

struct drvmgr_dev* drvmgr_dev::next

Next device

## ◆ next_in_bus

struct drvmgr_dev* drvmgr_dev::next_in_bus

Next device on the same bus

## ◆ next_in_drv

struct drvmgr_dev* drvmgr_dev::next_in_drv

Next device using the same driver

## ◆ obj_type

int drvmgr_dev::obj_type

DRVMGR_OBJ_DEV

## ◆ parent

struct drvmgr_bus* drvmgr_dev::parent

Bus that this device resides on

## ◆ priv

void* drvmgr_dev::priv

Pointer to driver private device structure

## ◆ state

unsigned int drvmgr_dev::state

State of device, see DEV_STATE_*

The documentation for this struct was generated from the following file:

- cpukit/include/drvmgr/drvmgr.h