commit | f9f4a1c959b872296fd7607c490fd51b3e882a49 | [log] [tgz] |
---|---|---|
author | Tom Warren <twarren@nvidia.com> | Thu Mar 26 15:59:13 2020 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 12 13:17:23 2020 -0400 |
tree | 25ea5817fe17ff2863790fca73100f694331bc9c | |
parent | a8267d42e76d5127c28b58bba02bb65c2bb321af [diff] |
net: rt8169: WAR for DHCP not getting IP after kernel boot/reboot This is a WAR for DHCP failure after rebooting from the L4T kernel. The r8169.c kernel driver is setting bit 19 of the rt816x HW register 0xF0, which goes by FuncEvent and MISC in various driver source/datasheets. That bit is called RxDv_Gated_En in the r8169.c kernel driver. Clear it here at the end of probe to ensure that U-Boot can get an IP assigned via DHCP. Signed-off-by: Tom Warren <twarren@nvidia.com>