|
device_get_softc(9) -- access driver private instance variables
|
Return the driver-specific state of dev. The softc is automatically allocated the first time it is requested. The size of the allocation is determined by the device's driver_t information used to def... |
device_get_state(9) -- manipulate device state
|
The current state of a device is accessed by calling device_get_state() which returns DS_NOTPRESENT, DS_ALIVE, DS_ATTACHED or DS_BUSY (described in device(9)). To test see if a device was successfully... |
device_get_unit(9) -- access the unit number of a device
|
Return the unit number of the device. |
DEVICE_IDENTIFY(9) -- identify a device, register it
|
The identify function for a device is only needed for devices on busses that cannot identify their children independently, e.g. the ISA bus. It is used to recognize the device (usually done by accessi... |
device_ids(9) -- calculate device ids
|
The device_ids family of functions take either the raw device ID, id, or a pointer to the device structure, dev, and return the integer value that is the major or minor device ID as requested. The act... |
device_is_alive(9) -- manipulate device state
|
The current state of a device is accessed by calling device_get_state() which returns DS_NOTPRESENT, DS_ALIVE, DS_ATTACHED or DS_BUSY (described in device(9)). To test see if a device was successfully... |
device_is_attached(9) -- manipulate device state
|
The current state of a device is accessed by calling device_get_state() which returns DS_NOTPRESENT, DS_ALIVE, DS_ATTACHED or DS_BUSY (described in device(9)). To test see if a device was successfully... |
device_is_enabled(9) -- manipulate device enabled flag
|
Each device has an enabled flag associated with it. A device is enabled by default when it is created but may be disabled (for instance to prevent a destructive or time consuming probe attempt). To di... |
device_is_quiet(9) -- manipulate device quiet flag
|
Each device has a quiet flag associated with it. A device is verbose by default when it is created but may be quieted to prevent the device identification string to be printed during probe. To quiet a... |
device_printf(9) -- formatted output conversion
|
The device_printf() function is a convenience interface to the printf(9) function. It outputs the name of the dev device, followed by a colon and a space, and then what printf(9) would print if you pa... |
DEVICE_PROBE(9) -- probe for device existence
|
This device method should probe to see if the device is present. It should return 0 if the device exists, ENXIO if it cannot be found. If some other error happens during the probe (such as a memory al... |
device_probe_and_attach(9) -- initialise a device
|
This function is called during autoconfiguration to initialise the devices in the system. For each device, the DEVICE_PROBE(9) method of each suitable driver is called and if a probe succeeds, a descr... |
device_quiet(9) -- manipulate device quiet flag
|
Each device has a quiet flag associated with it. A device is verbose by default when it is created but may be quieted to prevent the device identification string to be printed during probe. To quiet a... |