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
F124991968: D50045.diff
Sat, Aug 2, 3:48 AM
Unknown Object (File)
Sat, Jul 26, 11:58 PM
Unknown Object (File)
Fri, Jul 25, 3:25 PM
Unknown Object (File)
Fri, Jul 25, 12:07 PM
Unknown Object (File)
Thu, Jul 24, 6:38 AM
Unknown Object (File)
Wed, Jul 23, 4:58 PM
Unknown Object (File)
Sat, Jul 19, 7:45 AM
Unknown Object (File)
Fri, Jul 18, 4:16 AM

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