openwrt/target/linux/generic/files/include/linux
INAGAKI Hiroshi 8f3b176e86 kernel: rtl8367b: fix external interface modes
The interface mode number of RGMII_33V is 7 on RTL8367, but it's 9 on
RTL8367B.

the external interface modes for RTL8367 are follows:

- 0, Disabled
- 1, RGMII
- 2, MII_MAC
- 3, MII_PHY
- 4, TMII_MAC
- 5, TMII_PHY
- 6, GMII
- 7, RGMII_33V

the external interface modes for RTL8367B are follows:

- 0, Disabled
- 1, RGMII
- 2, MII_MAC
- 3, MII_PHY
- 4, TMII_MAC
- 5, TMII_PHY
- 6, GMII
- 7, RMII_MAC
- 8, RMII_PHY
- 9, RGMII_33V

But the driver in U-Boot of RT-N56U GPL tar blocks using RGMII_33V (9)
mode and it seems to be unsupported on RTL8367B, so drop it from
switch-case in rtl8367b_extif_set_mode.

ref (RTL8367):

- TL-WR2453ND v1

ref (RTL8367B):

- ASUS RT-N56U
- TP-Link Archer C2 v1

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2020-06-11 21:50:01 +08:00
..
platform_data kernel: Move modifications of b53.h into patch 2018-12-15 12:50:06 +01:00
ar8216_platform.h ar8216: rework/fix AR8337 MAC swap handling 2015-12-20 14:25:45 +00:00
ath5k_platform.h
ath9k_platform.h ath9k: drop obsolete patch 2017-04-08 14:30:00 +02:00
myloader.h ar71xx: Revert "added board support for compex wpj558" 2015-02-02 10:32:04 +00:00
routerboot.h kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h 2013-12-16 10:11:00 +00:00
rt2x00_platform.h mac80211: rt2x00: fold patches 2016-11-09 20:02:18 +01:00
rtl8366.h kernel: add reset control support to rtl8366 driver 2018-05-24 15:43:39 +02:00
rtl8367.h kernel: rtl8367b: fix external interface modes 2020-06-11 21:50:01 +08:00
switch.h generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00