device_get_unit — access the unit number of a device
Contents
Description
Return the unit number of the device.
Name
device_get_unit — access the unit number of a device
See Also
device(9)
Synopsis
#include<sys/param.h>#include<sys/bus.h>intdevice_get_unit(device_tdev);
