devclass_get_device9
Translate unit number to device
Usage
#include <sys/param.h>
#include <sys/bus.h>
device_t
devclass_get_device(devclass_t dc, int unit);
Overview
This function retrieves the device instance with the given unit number and returns it.
Return values
If the device exists, it is returned, otherwise NULL is returned.