blob: 1d8f1f44806b76e1b05dc3711489963737237dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|