DEVICE_GET_DEVCLASS(9) | Kernel Developer's Manual | DEVICE_GET_DEVCLASS(9) |
device_get_devclass
—
access 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.
This manual page was written by Doug Rabson.
June 16, 1998 | Debian |