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 for me RTL8152 USB ethernet not detected problem after reboot on NanoPI R1 board. Both NetBSD and OpenBSD have a wrong value so far.
This commit is contained in:
parent
58aa509054
commit
7285d802f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user