mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
amd-xgbe: Set the MDIO mode for 10000Base-T configuration
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 <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1547f538c1
commit
3b1ded4e0b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user