openwrt/target/linux/ramips
Felix Baumann 688697889c ramips: correct the PCIe port number for some mt7621 devices
MT7621 uses a new PCIe driver in the 5.15+ kernel. Allocating wrong PCIe
port will cause the PCIe NIC to not work properly. This commit fixes
the wrong port numbers on Netgear R6220, WAC104 and WNDR3700 v5.

According to bootlog, MT7612E (5GHz) is connected to pcie0, and
MT7603E (2GHz) is connected to pcie2:
[2.758986] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[2.772862] mt7621-pci 1e140000.pcie: PCIE0 enabled
[2.782579] mt7621-pci 1e140000.pcie: PCIE2 enabled
...
[3.009151] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[3.125715] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000

Tested-by: Maximilian Baumgartner <aufhaxer@googlemail.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
[felix.bau@gmx.de: adjust commit message for Netgear devices]
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
2023-02-25 20:21:36 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: correct the PCIe port number for some mt7621 devices 2023-02-25 20:21:36 +01:00
files/drivers ramips: mt7620: split gsw hw_init to mac_init, ephy_init 2023-02-18 16:55:35 +01:00
image ramips: add alternative device name for Wiflyer WF3526-P 2023-02-19 18:37:55 +01:00
mt76x8 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
mt7620 ramips: add label MAC address for EPG600 and ESR600 2023-02-18 16:55:35 +01:00
mt7621 ramips: add support for Huasifei WS1208V2 2023-02-18 19:56:37 +01:00
patches-5.10 ramips: backport mt7621 PCIs initialization delay patch 2023-02-18 11:41:54 +02:00
patches-5.15 ramips: backport mt7621 PCIs initialization delay patch 2023-02-18 11:41:54 +02:00
rt288x treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
rt305x treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
rt3883 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00