NAME

device_get_driveraccess the current driver of a device

SYNOPSIS

#include <sys/param.h>
#include <sys/bus.h>
driver_t *
device_get_driver(device_t dev);

DESCRIPTION

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

SEE ALSO

device(9), driver(9)

AUTHORS

This manual page was written by Doug Rabson.

Recommended readings

Pages related to device_get_driver you should read also:

Questions & Answers

Helpful answers and articles about device_get_driver you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search