device_get_devclass(9) access the devclass of a device

SYNOPSIS

In sys/param.h In sys/bus.h Ft devclass_t Fn device_get_devclass device_t dev

DESCRIPTION

The current devclass associated with the device is returned. If the device has no devclass, NULL is returned.

AUTHORS

This manual page was written by An Doug Rabson .