summaryrefslogtreecommitdiffstats
path: root/sys/dev/auxio/auxio.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2009-12-21 21:29:16 +0000
committermarius <marius@FreeBSD.org>2009-12-21 21:29:16 +0000
commite75dd540213fa32f3dcfa55aad6837f2da26fea1 (patch)
treec4b29506bc07f690110bf09c2e350cbb0ef6b13a /sys/dev/auxio/auxio.c
parentc73145e084c3b5452c39a652bea5bde63d8d35f2 (diff)
downloadFreeBSD-src-e75dd540213fa32f3dcfa55aad6837f2da26fea1.zip
FreeBSD-src-e75dd540213fa32f3dcfa55aad6837f2da26fea1.tar.gz
Provide and consume missing module dependency information.
Diffstat (limited to 'sys/dev/auxio/auxio.c')
-rw-r--r--sys/dev/auxio/auxio.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/auxio/auxio.c b/sys/dev/auxio/auxio.c
index 9943a0af..6e2d356 100644
--- a/sys/dev/auxio/auxio.c
+++ b/sys/dev/auxio/auxio.c
@@ -56,7 +56,7 @@
*/
/*
- * AUXIO registers support on the sbus & ebus2, used for the floppy driver
+ * AUXIO registers support on the SBus & EBus2, used for the floppy driver
* and to control the system LED, for the BLINK option.
*/
@@ -85,8 +85,8 @@ __FBSDID("$FreeBSD$");
#include <dev/auxio/auxioreg.h>
/*
- * on sun4u, auxio exists with one register (LED) on the sbus, and 5
- * registers on the ebus2 (pci) (LED, PCIMODE, FREQUENCY, SCSI
+ * On sun4u, auxio exists with one register (LED) on the SBus, and 5
+ * registers on the EBus2 (pci) (LED, PCIMODE, FREQUENCY, SCSI
* OSCILLATOR, and TEMP SENSE.
*/
@@ -142,6 +142,7 @@ static driver_t auxio_sbus_driver = {
static devclass_t auxio_devclass;
DRIVER_MODULE(auxio, sbus, auxio_sbus_driver, auxio_devclass, 0, 0);
+MODULE_DEPEND(auxio, sbus, 1, 1, 1);
/* EBus */
static device_method_t auxio_ebus_methods[] = {
@@ -158,6 +159,7 @@ static driver_t auxio_ebus_driver = {
};
DRIVER_MODULE(auxio, ebus, auxio_ebus_driver, auxio_devclass, 0, 0);
+MODULE_DEPEND(auxio, ebus, 1, 1, 1);
MODULE_VERSION(auxio, 1);
#define AUXIO_LOCK_INIT(sc) \
OpenPOWER on IntegriCloud