device_get_driver(9) access the current driver of a device

SYNOPSIS

In sys/param.h In sys/bus.h Ft driver_t * Fn 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.

AUTHORS

This manual page was written by An Doug Rabson .