mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Add MULTI_DRIVER_MODULE().
This commit is contained in:
parent
95a6562598
commit
dd748fba6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82108
@ -39,6 +39,7 @@
|
||||
.Fd #include <sys/bus.h>
|
||||
.Fd #include <sys/module.h>
|
||||
.Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg"
|
||||
.Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t devclass" "modeventhand_t evh" "void *arg"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn DRIVER_MODULE
|
||||
@ -94,6 +95,11 @@ The
|
||||
is unused at this time and should be a
|
||||
.Dv NULL
|
||||
pointer.
|
||||
.Pp
|
||||
.Fn MULTI_DRIVER_MODULE
|
||||
is a special version of
|
||||
.Fn DRIVER_MODULE ,
|
||||
which takes a list of drivers instead of a single driver instance.
|
||||
.Sh SEE ALSO
|
||||
.Xr device 9 ,
|
||||
.Xr driver 9 ,
|
||||
|
Loading…
Reference in New Issue
Block a user