logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_set_driver — associate a specific driver with a device node in the tree

Authors

       This manual page was written by M. Warner Losh.

Debian                                           April 21, 2003                             DEVICE_SET_DRIVER(9)

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);

See Also