Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2019 03:01:41 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343243 - stable/12
Message-ID:  <201901210301.x0L31gkX022756@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901210301.x0L31gkX022756>