net: phy: add 10G fixed-link support

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
This commit is contained in:
Camelia Groza 2017-08-22 18:35:11 +03:00 committed by Dong Aisheng
parent 3dc30dfb3d
commit fc6df7a7e1
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ static const struct swmii_regs duplex[] = {
static int swphy_decode_speed(int speed)
{
switch (speed) {
case 10000:
case 1000:
return SWMII_SPEED_1000;
case 100: