mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
24 lines
771 B
Diff
24 lines
771 B
Diff
|
From a40da00390f47fa698ef9ef9a2c82d427f6f8aa6 Mon Sep 17 00:00:00 2001
|
||
|
From: Alex Marginean <alexandru.marginean@nxp.com>
|
||
|
Date: Tue, 7 Jan 2020 16:44:20 +0200
|
||
|
Subject: [PATCH] drivers: net: felix: set link based on BMSR, not LPA
|
||
|
|
||
|
At least some PHYs don't advertise link up during system side AN, rely on
|
||
|
local indication from internal PHYs for link state.
|
||
|
|
||
|
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
|
||
|
---
|
||
|
drivers/net/dsa/ocelot/felix_vsc9959.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/net/dsa/ocelot/felix_vsc9959.c
|
||
|
+++ b/drivers/net/dsa/ocelot/felix_vsc9959.c
|
||
|
@@ -896,7 +896,6 @@ static void vsc9959_pcs_link_state_usxgm
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
- pcs->link = USXGMII_LPA_LNKS(lpa);
|
||
|
if (USXGMII_LPA_DUPLEX(lpa))
|
||
|
pcs->duplex = DUPLEX_FULL;
|
||
|
else
|