Page MenuHomeFreeBSD

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

Authored by adrian on Apr 26 2025, 3:53 PM.
Tags
None
Referenced Files
F152604119: D50045.id154320.diff
Wed, Apr 15, 10:57 PM
F152492723: D50045.id.diff
Wed, Apr 15, 7:37 AM
Unknown Object (File)
Tue, Apr 14, 10:35 AM
Unknown Object (File)
Sun, Apr 12, 12:55 PM
Unknown Object (File)
Fri, Apr 10, 9:41 AM
Unknown Object (File)
Mon, Apr 6, 8:33 PM
Unknown Object (File)
Sun, Mar 29, 12:48 AM
Unknown Object (File)
Mon, Mar 23, 7:15 PM

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