svn commit: r343243 - stable/12
Kyle Evans
kevans at FreeBSD.org
Mon Jan 21 03:01:42 UTC 2019
Author: kevans
Date: Mon Jan 21 03:01:41 2019
New Revision: 343243
URL: https://svnweb.freebsd.org/changeset/base/343243
Log:
MFC r343095, r343119: awg no-op (record-only)
r343095:
awg: Move MAC soft reset to awg_init_locked to avoid soft reset timeout
From NetBSD: Since the MAC can get stuck in reset state with no link, ignore
reset timeouts and continue with initializing the device.
Fixes "soft reset timeout" issue at boot with no network cable plugged in.
awg_init may be called multiple times throughout normal interface usage, so
the tx/rx descriptor base address registers must be written after each MAC
reset and are moved as such.
This problem has been observed on FreeBSD, H3/H2+ devices with an internal
PHY (includes OrangePi R1, OrangePi One at least).
r343119: Revert r343095
This was intended to fix the soft reset timeout on boot for OrangePi One/R1
with internal PHY, but seems to cause other problems later on due to soft
resetting around some state changes that may or may not make the NIC
non-functional.
Reverting this for now while a better solution is sought out.
Modified:
Directory Properties:
stable/12/ (props changed)
More information about the svn-src-stable
mailing list