Commit Graph

8 Commits

Author SHA1 Message Date
msaitoh
b211437b51 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.
2014-06-16 16:48:16 +00:00
msaitoh
6e84bd64a6 Use ihphy(4) for I21[78]. 2013-06-19 15:30:25 +00:00
msaitoh
b4ac1458bf Remove duplicated code. The code to check IFF_UP and autonegotiation
is in mii_phy_tick(), too.
2013-06-11 07:22:08 +00:00
msaitoh
307e621cc0 Update link status quickly. This change is a part of FreeBSD's mii_physubr.c
r158649.
2013-06-09 09:31:32 +00:00
msaitoh
d2c936ef4d Don't "return" but "break" in MII_TICK when the interface isn't doing
autonegotiaton or the link is up to update the status.
2013-06-09 09:15:51 +00:00
msaitoh
a2fa750028 atphy, ciphy, ihphy and rgephy are gigabit PHY, so not only check IFM_AUTO
for autonegotiation but also check IFM_1000_T, too.
2013-06-09 08:42:16 +00:00
msaitoh
e43e4777a3 82579 support. 2011-05-20 06:06:59 +00:00
christos
e5ce60b3e7 PR/44080: Grégoire Sutre: Support for the i82577 ethernet PHY 2010-11-27 20:15:27 +00:00