diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1999-09-22 06:08:11 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1999-09-22 06:08:11 +0000 |
commit | 9e4c647c74846b9f7faeba5ed8979ca9b2f6be9a (patch) | |
tree | 5ed8db5641c6b3e8737c3354e22d7f68bfc524c6 /sys/pci/if_ste.c | |
parent | 8b22cebb2cb8971c882263b93898e6be3d196b99 (diff) | |
download | src-9e4c647c74846b9f7faeba5ed8979ca9b2f6be9a.tar.gz src-9e4c647c74846b9f7faeba5ed8979ca9b2f6be9a.zip |
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.
Notes
Notes:
svn path=/head/; revision=51533
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 2248725cef1b..aea212e9f14f 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) \ |