diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-08-08 14:38:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-09 14:15:00 -0700 |
commit | 933de7866b57b2fc8adc160642a81f07175f138d (patch) | |
tree | 426941763388190203f66173988ab92056d35f8e /drivers/net/ethernet/qlogic/qlcnic | |
parent | cd16e5b233aadad5c4652f5466d1505a9f78bade (diff) | |
download | linux-stable-933de7866b57b2fc8adc160642a81f07175f138d.tar.gz linux-stable-933de7866b57b2fc8adc160642a81f07175f138d.tar.bz2 linux-stable-933de7866b57b2fc8adc160642a81f07175f138d.zip |
net: dsa: rtl8366rb: Support port 4 (WAN)
The totally undocumented IO mode needs to be set to enumerator
0 to enable port 4 also known as WAN in most configurations,
for ordinary traffic. The 3 bits in the register come up as
010 after reset, but need to be set to 000.
The Realtek source code contains a name for these bits, but
no explanation of what the 8 different IO modes may be.
Set it to zero for the time being and drop a comment so
people know what is going on if they run into trouble. This
"mode zero" works fine with the D-Link DIR-685 with
RTL8366RB.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic')
0 files changed, 0 insertions, 0 deletions