Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2019 03:05:06 +0000 (UTC)
From:      Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r347558 - stable/11/sys/dev/usb/net
Message-ID:  <201905140305.x4E356wE022021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ganbold
Date: Tue May 14 03:05:06 2019
New Revision: 347558
URL: https://svnweb.freebsd.org/changeset/base/347558

Log:
  MFC r346028:
  Fix URE_WDT6_SET_MODE value in the register definition.
  Both linux and u-boot sources for RTL8152 driver has this value.
  RTL8152 USB ethernet is used in NanoPI R1 board as second ethernet.
  This fixes RTL8152 USB ethernet not detected problem after
  reboot.

Modified:
  stable/11/sys/dev/usb/net/if_urereg.h

Modified: stable/11/sys/dev/usb/net/if_urereg.h
==============================================================================
--- stable/11/sys/dev/usb/net/if_urereg.h	Tue May 14 02:00:12 2019	(r347557)
+++ stable/11/sys/dev/usb/net/if_urereg.h	Tue May 14 03:05:06 2019	(r347558)
@@ -176,7 +176,7 @@
 #define	URE_EEEP_CR_EEEP_TX	0x0002
 
 /* PLA_WDT6_CTRL */
-#define	URE_WDT6_SET_MODE	0x001
+#define	URE_WDT6_SET_MODE	0x0010
 
 /* PLA_TCR0 */
 #define	URE_TCR0_TX_EMPTY	0x0800



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