projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1547f53
)
amd-xgbe: Set the MDIO mode for 10000Base-T configuration
author
Lendacky, Thomas
<
[email protected]
>
Fri, 18 Aug 2017 14:02:18 +0000
(09:02 -0500)
committer
David S. Miller
<
[email protected]
>
Fri, 18 Aug 2017 23:30:16 +0000
(16:30 -0700)
Currently the MDIO mode is set to none for the 10000Base-T, which is
incorrect. The MDIO mode should for this configuration should be
clause 45.
Signed-off-by: Tom Lendacky <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
b/drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
index 04b5c149cacac286ad5635cb3f32ee0d7d3f6645..81c45fa65e0aa8ca0d234dc1e1dc7b43dfe6494e 100644
(file)
--- a/
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
+++ b/
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
@@
-2921,7
+2921,7
@@
static int xgbe_phy_init(struct xgbe_prv_data *pdata)
phy_data->start_mode = XGBE_MODE_KR;
}
- phy_data->phydev_mode = XGBE_MDIO_MODE_
NONE
;
+ phy_data->phydev_mode = XGBE_MDIO_MODE_
CL45
;
break;
/* 10GBase-R support */