summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-22 06:08:11 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-22 06:08:11 +0000
commita8e68085ed8290414051fc0e6565acaa0d076a12 (patch)
tree3858adbac2b122730f63bc1a40fc2e8ae3f21bae /sys/pci/if_ste.c
parent2817a59f503d7cc04787d396baad85b1e9c62dfc (diff)
downloadFreeBSD-src-a8e68085ed8290414051fc0e6565acaa0d076a12.zip
FreeBSD-src-a8e68085ed8290414051fc0e6565acaa0d076a12.tar.gz
Tweak these for what I hope is the last time: change the DRIVER_MODULE()
declaration for the interface driver from "foo" to "if_foo" but leave the declaration for the miibus attached to the interface driver alone. This lets the internal module name be "if_foo" while still allowing the miibus instances to attach to "foo." This should allow ifconfig to autoload driver modules again without breaking the miibus attach.
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r--sys/pci/if_ste.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 2248725..aea212e 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -172,7 +172,7 @@ static driver_t ste_driver = {
static devclass_t ste_devclass;
-DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
+DRIVER_MODULE(if_ste, pci, ste_driver, ste_devclass, 0, 0);
DRIVER_MODULE(miibus, ste, miibus_driver, miibus_devclass, 0, 0);
#define STE_SETBIT4(sc, reg, x) \
OpenPOWER on IntegriCloud