diff options
author | jhb <jhb@FreeBSD.org> | 2011-08-22 18:36:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-08-22 18:36:58 +0000 |
commit | 9d10e169c997a3477c1b9e10cbc342c39734acf2 (patch) | |
tree | de8bc2b28c0ac5d1d75851da25db826ba948753c /lib/libc/stdlib/getsubopt.c | |
parent | 1d94389f8f3e368db05482320ee08c9b33ef48da (diff) | |
download | FreeBSD-src-9d10e169c997a3477c1b9e10cbc342c39734acf2.zip FreeBSD-src-9d10e169c997a3477c1b9e10cbc342c39734acf2.tar.gz |
Add two new macros DRIVER_MODULE_ORDERED() and EARLY_DRIVER_MODULE_ORDERED()
that allow a module to use an order other than the default of
SI_ORDER_MIDDLE when registering a driver. This can be useful for drivers
in a kld that contain multiple new-bus drivers as part of one logical device
driver. A typical case would be to use SI_ORDER_LAST for the "main" driver
to ensure that any other "helper" drivers are registered and available
before the "main" driver attempts to attach.
Tested by: kib, Jason Harmening jason harmening / gmail
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/getsubopt.c')
0 files changed, 0 insertions, 0 deletions