FreeBSD/sys/kern/subr_bus.c
/**
 * @brief Return the device's unit number.
 */
@brief Return the device's unit number.
@brief Return the device ' s unit number .
int
device_get_unit(device_t dev)
{
	return (dev->unit);
}
int device_get_unit ( device_t dev ) { return ( dev -> unit ) ; }
@brief Return the device's unit number.
@brief Return the device ' s unit number .