svn commit: r347559 - stable/12/sys/dev/usb/net
Ganbold Tsagaankhuu
ganbold at FreeBSD.org
Tue May 14 03:08:38 UTC 2019
Author: ganbold
Date: Tue May 14 03:08:37 2019
New Revision: 347559
URL: https://svnweb.freebsd.org/changeset/base/347559
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/12/sys/dev/usb/net/if_urereg.h
Modified: stable/12/sys/dev/usb/net/if_urereg.h
==============================================================================
--- stable/12/sys/dev/usb/net/if_urereg.h Tue May 14 03:05:06 2019 (r347558)
+++ stable/12/sys/dev/usb/net/if_urereg.h Tue May 14 03:08:37 2019 (r347559)
@@ -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
More information about the svn-src-stable
mailing list