DOKK / manpages / debian 10 / freebsd-manpages / device_set_driver.9freebsd.en
DEVICE_SET_DRIVER(9) Kernel Developer's Manual DEVICE_SET_DRIVER(9)

device_set_driverassociate a specific driver with a device node in the tree

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

void
device_set_driver(device_t dev, driver_t *driver);

This function associates a specific driver with a given device node in the tree. It is typically used in DEVICE_IDENTIFY(9) functions to add devices to a bus that does not support doing so automatically, such as the ISA bus.

device(9)

This manual page was written by M. Warner Losh.

April 21, 2003 Debian