Commit Graph

14 Commits

Author SHA1 Message Date
Mieczyslaw Nalewaj
8730dc18a4 kernel: rtl8367: detect rtl8367d chip family
Detect the RTL8367D chip family and set the appropriate extif

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-14 20:26:16 +08:00
coolsnowwolf
a6b29fbae9 generic: fix linux 6.12 build 2025-01-24 23:00:16 +08:00
Mieczyslaw Nalewaj
339673597b kernel: rtl8367b: store chip in smi->rtl8367b_chip
Store the chip type in smi->rtl8367b_chip, fix #12537

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-14 23:10:21 +08:00
Mieczyslaw Nalewaj
09375a2f7b kernel: rtl8367b: remove rlvid analysis
Remove the rlvid analysis because for the rtl8367b family chips supported
by the driver (rtl8367rb and rtl8367r-vb), rlvid is always equal to 1.
So the code for rlvid equal to 0 is completely unnecessary.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-08-30 22:36:21 +08:00
coolsnowwolf
b3e60d1892 generic: sync kernel 6.1 from upstream 2024-07-02 15:24:05 +08:00
Mieczyslaw Nalewaj
05390b546e kernel: support for RTL8367C/S switch
From driver point of view no differance between rtl8367b and rtl8367s
if it connected through EXT2 (rgmii only).
So this trivial patch add some identification and initialization only.
SGMII/HSGMII mode for EXT1 is not implemented for the sake of patch
clairity.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-02-27 22:00:14 +08:00
aiamadeus
985fa051b0 kernel: rtl8367b: remove wrong parameter
This is just a workaround to light up the Ethernet port led.
Fixes: 0c40df8 ("ramips: MT7620 add Support HiWiFi R33")
2023-03-12 18:36:12 +08:00
zfdx
0c40df89d3
ramips: MT7620 add Support HiWiFi R33(C312B B52) (#10812) 2023-01-26 19:50:31 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
d52748954a Revert "sync with upstream patch"
This reverts commit a01e7df608.
2019-01-03 15:20:58 +08:00
coolsnowwolf
a01e7df608 sync with upstream patch 2019-01-02 21:48:12 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00