device_set_driver — associate a specific driver with a device node in the tree
Contents
Description
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.
Name
device_set_driver — associate a specific driver with a device node in the tree
See Also
device(9)
Synopsis
#include<sys/param.h>#include<sys/bus.h>voiddevice_set_driver(device_tdev, driver_t*driver);
