Add MULTI_DRIVER_MODULE().
This commit is contained in:
parent
95a6562598
commit
dd748fba6a
@ -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