Page MenuHomeFreeBSD

if_awg: Skip emac reset if configured for internal PHY
ClosedPublic

Authored by kevans on Jan 18 2018, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 27 2024, 10:20 AM
Unknown Object (File)
Nov 11 2024, 8:00 PM
Unknown Object (File)
Nov 11 2024, 7:46 PM
Unknown Object (File)
Nov 11 2024, 7:43 PM
Unknown Object (File)
Nov 11 2024, 11:35 AM
Unknown Object (File)
Oct 18 2024, 2:26 PM
Unknown Object (File)
Oct 4 2024, 11:28 PM
Unknown Object (File)
Oct 4 2024, 1:25 AM
Subscribers

Details

Summary

On the OrangePi One at least, emac reset when an ethernet cable is not plugged in seems to break ethernet. Soft reset will fail, even with increasing the delay and retries to wait for up to 20 seconds. This can be reproduced across at least two different OrangePi One's by simply leaving ethernet cable unplugged when awg attaches. Whether it's plugged in or not through u-boot process makes no difference.

Skipping the reset in this configuration doesn't seem to cause any problems, tried across many many reboots with and without ethernet cable plugged in.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 6 2018, 9:31 PM
This revision was automatically updated to reflect the committed changes.