brgphy: Bring in changes from OpenBSD
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 16 Aug 2011 09:45:30 +0000 (17:45 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 16 Aug 2011 14:16:17 +0000 (22:16 +0800)
commit5a020756b7a098b96bd3dceea160cb35924d70a5
treee15505d689ea147a16f8d08e0ed0705a33e090a4
parent0919389be41b4ed9c0f364a8f908b0a72ba9a275
brgphy: Bring in changes from OpenBSD

- Link status is now detected using BMSR
- Extra link status detection based on AUXSTS is used for 5906
- Shuffle 5906 EPHY setting around
- brgphy_loop() is not necessary to start auto-negotiation
sys/dev/netif/mii_layer/brgphy.c
sys/dev/netif/mii_layer/brgphyreg.h