openwrt/target/linux/generic
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
..
backport-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
backport-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
backport-5.4 kernel: backport upstream DSA GRO support 2020-06-10 16:17:12 +02:00
files kernel: rtl8367b: fix external interface modes 2020-06-11 21:50:01 +08:00
hack-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
hack-4.19 kernel: bump 4.19 to 4.19.122 2020-05-12 12:36:28 +02:00
hack-5.4 kernel: fix portability issue with perf on linux 5.4 2020-06-04 21:52:57 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
pending-4.19 kernel: bump 4.19 to 4.19.123 2020-05-14 13:33:40 +02:00
pending-5.4 kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
config-4.14 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
config-4.19 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
config-5.4 linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-06-03 16:49:28 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00