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
Unknown Object (File)
Tue, Jul 8, 8:47 PM
Unknown Object (File)
Mon, Jul 7, 6:13 PM
Unknown Object (File)
Mon, Jul 7, 11:59 AM
Unknown Object (File)
Sat, Jul 5, 2:44 PM
Unknown Object (File)
Sat, Jul 5, 8:43 AM
Unknown Object (File)
Wed, Jul 2, 5:24 PM
Unknown Object (File)
Tue, Jul 1, 9:18 AM
Unknown Object (File)
Tue, Jul 1, 1:43 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