device_get_unit(9) access the unit number of a device

SYNOPSIS

In sys/param.h In sys/bus.h Ft int Fn device_get_unit device_t dev

DESCRIPTION

Return the unit number of the device.

AUTHORS

This manual page was written by An Doug Rabson .