devclass_get_softc9
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.