DOKK / manpages / debian 10 / freebsd-manpages / device_get_devclass.9freebsd.en
DEVICE_GET_DEVCLASS(9) Kernel Developer's Manual DEVICE_GET_DEVCLASS(9)

device_get_devclassaccess the devclass of a device

#include <sys/param.h>
#include <sys/bus.h>

devclass_t
device_get_devclass(device_t dev);

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

devclass(9), device(9)

This manual page was written by Doug Rabson.

June 16, 1998 Debian