]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 225079:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 16 Sep 2011 18:26:40 +0000 (18:26 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 16 Sep 2011 18:26:40 +0000 (18:26 +0000)
commit03e3e63afcbac5ce98560a8df6a094dc269ef437
tree8d2455b8ae2f8fbb5502c6b5a7f67164327a2881
parent2401355d9cde1cc51bede0e42652283f7838a008
MFC 225079:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/bus.h