From 8c987c4949c32b181f5e195dba9be9bd9bc7f258 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 12 Dec 2021 08:03:33 +0100 Subject: [PATCH] ipq807x: fix LAN2 on the new EAP101 PCB The second LAN port is not setup correctly due to the new PHY. Fixes: WIFI-6152 Signed-off-by: John Crispin --- feeds/ipq807x/qca-ssdk/patches/200-eap101.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 feeds/ipq807x/qca-ssdk/patches/200-eap101.patch diff --git a/feeds/ipq807x/qca-ssdk/patches/200-eap101.patch b/feeds/ipq807x/qca-ssdk/patches/200-eap101.patch new file mode 100644 index 000000000..5af8f5f6f --- /dev/null +++ b/feeds/ipq807x/qca-ssdk/patches/200-eap101.patch @@ -0,0 +1,14 @@ +diff --git a/src/hsl/phy/hsl_phy.c b/src/hsl/phy/hsl_phy.c +index 5866a522..41227581 100755 +--- a/src/hsl/phy/hsl_phy.c ++++ b/src/hsl/phy/hsl_phy.c +@@ -608,6 +608,9 @@ hsl_port_phyid_get(a_uint32_t dev_id, fal_port_t port_id) + return INVALID_PHY_ID; + } + ++ if (phy_id == MALIBU5PORT_PHY && of_machine_is_compatible("edgecore,eap101")) ++ phy_id = MALIBU2PORT_PHY; ++ + return phy_id; + } +