openwrt/target/linux/generic/files/drivers/net/phy
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
..
b53 kernel: b53: fix compilation with kernels 5.5+ 2020-06-05 12:42:45 +02:00
adm6996.c generic: make all phy drivers kernel 5.0 compatible 2020-03-16 22:28:16 +01:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic: ar8216: fix unknown packet flooding for ar8229/ar8236 2020-05-06 08:59:27 +08:00
ar8216.h generic: ar8216: fix unknown packet flooding for ar8229/ar8236 2020-05-06 08:59:27 +08:00
ar8327.c generic ar8xxx: increase VLAN table for AR83x7 2019-11-30 16:49:05 +01:00
ar8327.h kernel: ar83xx: Add support for three GMAC's connection 2018-12-06 08:15:27 +01:00
ip17xx.c ip17xx: correct aneg_done return value 2017-06-07 11:06:29 +02:00
mvsw61xx.c kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvsw61xx.h kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvswitch.c generic: make all phy drivers kernel 5.0 compatible 2020-03-16 22:28:16 +01:00
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
psb6970.c generic: make all phy drivers kernel 5.0 compatible 2020-03-16 22:28:16 +01:00
rtl8306.c generic: drop outdated kernel version switches in local drivers 2020-05-17 18:35:59 +02:00
rtl8366_smi.c generic: drop outdated kernel version switches in local drivers 2020-05-17 18:35:59 +02:00
rtl8366_smi.h kernel: rtl8366-smi: add Realtek switch management via mii-bus 2018-06-25 20:52:18 +02:00
rtl8366rb.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8366s.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367b.c kernel: rtl8367b: fix external interface modes 2020-06-11 21:50:01 +08:00
swconfig_leds.c kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
swconfig.c generic: drop outdated kernel version switches in local drivers 2020-05-17 18:35:59 +02:00