Page MenuHomeFreeBSD

mii: Change e1000phy (Marvell 88E1000) PHYs to disable power down / isolate
ClosedPublic

Authored by adrian on Sat, Apr 26, 3:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 29, 1:53 PM
Unknown Object (File)
Mon, Apr 28, 4:01 AM
Unknown Object (File)
Sun, Apr 27, 12:03 PM
Subscribers

Details

Summary

The reset sequence doesn't clear the power down / isolate bits during
power up and configuration. Change that to make sure things are
consistent.

If the PHY is initialised by something external (eg a bootloader,
config EEPROM driving a switch chip, etc) which sets the power down
and/or isolate bits in E1000_CR, then the reset path wouldn't
undo it and the PHY will look permanently down. Even when we
configure autonegotiate or statically nail the port up, it's still
not coming out of the power mode.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable