devclass_get_softc9freebsd
Translate unit number to driver private structure
Usage
#include <sys/param.h>
#include <sys/bus.h>
void *
devclass_get_softc(devclass_t dc, int unit);
Overview
This function retrieves the driver private instance variables for the device with the given unit number and returns it.
Return values
If the device exists, its driver-private variables are returned, otherwise NULL is returned.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 6 times.