DOKK / manpages / debian 12 / freebsd-manpages / device_get_driver.9freebsd.en
DEVICE_GET_DRIVER(9) Kernel Developer's Manual DEVICE_GET_DRIVER(9)

device_get_driveraccess the current driver of a device

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

driver_t *
device_get_driver(device_t dev);

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

device(9), driver(9)

This manual page was written by Doug Rabson.

June 16, 1998 Debian