device_set_driver(9)

NAME

device_set_driver - associate a specific driver with a de
vice node in the
tree

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 de
vice node in
the tree. It is typically used in DEVICE_IDENTIFY(9) func
tions to add
devices to a bus that does not support doing so automatical
ly, such as
the isa(4) bus.

SEE ALSO

device(9)

AUTHORS

This manual page was written by M. Warner Losh.
BSD April 21, 2003
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout