Query: device_get_driver
OS: freebsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVICE_GET_DRIVER(9) BSD Kernel Developer's Manual DEVICE_GET_DRIVER(9)NAMEdevice_get_driver -- access the current driver of a deviceSYNOPSIS#include <sys/param.h> #include <sys/bus.h> driver_t * device_get_driver(device_t dev);DESCRIPTIONThe current driver associated with the device is returned. If the device has no driver, NULL is returned.SEE ALSOdevice(9), driver(9)AUTHORSThis manual page was written by Doug Rabson.BSDJune 16, 1998 BSD