summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp_amd.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
commit261178d14f232fd1e66908a6c6e97c3a4cd36adc (patch)
tree1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/pci/agp_amd.c
parente7e7ff6c1cee7cfcbfd15e9651917287a315e054 (diff)
downloadFreeBSD-src-261178d14f232fd1e66908a6c6e97c3a4cd36adc.zip
FreeBSD-src-261178d14f232fd1e66908a6c6e97c3a4cd36adc.tar.gz
- Express hard dependencies on bus (pci, isa, pccard) and
network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.)
Diffstat (limited to 'sys/pci/agp_amd.c')
-rw-r--r--sys/pci/agp_amd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/agp_amd.c b/sys/pci/agp_amd.c
index 7c4d0ef..24e3cc9 100644
--- a/sys/pci/agp_amd.c
+++ b/sys/pci/agp_amd.c
@@ -417,3 +417,5 @@ static driver_t agp_amd_driver = {
static devclass_t agp_devclass;
DRIVER_MODULE(agp_amd, pci, agp_amd_driver, agp_devclass, 0, 0);
+MODULE_DEPEND(agp_amd, agp, 1, 1, 1);
+MODULE_DEPEND(agp_amd, pci, 1, 1, 1);
OpenPOWER on IntegriCloud