tail head cat sleep
QR code linking to this page

Manual Pages  — DEVICE_SET_DRIVER

NAME

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

CONTENTS

SYNOPSIS

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

void
device_set_driver(device_t dev, driver_t *driver);

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.

SEE ALSO

device(9)

AUTHORS

This manual page was written by M. Warner Losh.

DEVICE_SET_DRIVER (9) April 21, 2003

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

“ Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). ”
— The Unix Haters' handbook