summaryrefslogtreecommitdiffstats
path: root/sys/dev/alc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-08-22 18:36:58 +0000
committerjhb <jhb@FreeBSD.org>2011-08-22 18:36:58 +0000
commit9d10e169c997a3477c1b9e10cbc342c39734acf2 (patch)
treede8bc2b28c0ac5d1d75851da25db826ba948753c /sys/dev/alc
parent1d94389f8f3e368db05482320ee08c9b33ef48da (diff)
downloadFreeBSD-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 'sys/dev/alc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud