summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar_isa.c3
-rw-r--r--sys/dev/ar/if_ar_pci.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index d525359..f4fed80 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -90,7 +90,8 @@ static driver_t ar_isa_driver = {
sizeof (struct ar_hardc)
};
-DRIVER_MODULE(if_ar, isa, ar_isa_driver, ar_devclass, 0, 0);
+DRIVER_MODULE(ar, isa, ar_isa_driver, ar_devclass, 0, 0);
+MODULE_DEPEND(ar, isa, 1, 1, 1);
/*
* Probe to see if it is there.
diff --git a/sys/dev/ar/if_ar_pci.c b/sys/dev/ar/if_ar_pci.c
index d14b416..314e859 100644
--- a/sys/dev/ar/if_ar_pci.c
+++ b/sys/dev/ar/if_ar_pci.c
@@ -71,7 +71,8 @@ static driver_t ar_pci_driver = {
sizeof(struct ar_hardc),
};
-DRIVER_MODULE(if_ar, pci, ar_pci_driver, ar_devclass, 0, 0);
+DRIVER_MODULE(ar, pci, ar_pci_driver, ar_devclass, 0, 0);
+MODULE_DEPEND(ar, pci, 1, 1, 1);
static int
ar_pci_probe(device_t device)
OpenPOWER on IntegriCloud