device_get_devclass — access the devclass of a device
Contents
Description
The current devclass associated with the device is returned. If the device has no devclass, NULL is
returned.
Name
device_get_devclass — access the devclass of a device
See Also
devclass(9), device(9)
Synopsis
#include<sys/param.h>#include<sys/bus.h>devclass_tdevice_get_devclass(device_tdev);
