device_set_driver (9)
Leading comments
Copyright (c) 2003 M. Warner Losh
All rights reserved.
This program is free software.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer...
(The comments found at the beginning of the groff file "man9/device_set_driver.9freebsd".)
NAME
device_set_driver
- associate a specific driver with a device node in the tree
SYNOPSIS
In sys/param.h
In sys/bus.h
Ft void
Fn 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_IDENTIFY9
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
An M. Warner Losh .