device_get_unit(9)

device_get_unit9

Access the unit number of a device

Usage

#include <sys/param.h>

#include <sys/bus.h>

int

device_get_unit(device_t dev);

Overview

Return the unit number of the device.

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.