Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f03eeb8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: emac: Allow to program 1GB speed via ethtool"

parents 5834fad4 b8fad02a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -319,6 +319,9 @@ static int emac_hw_setup_phy_link(struct emac_adapter *adpt,
		case EMAC_LINK_SPEED_100_FULL:
			bmcr |= BMCR_SPEED100 | BMCR_FULLDPLX;
			break;
		case EMAC_LINK_SPEED_1GB_FULL:
			bmcr |= BMCR_SPEED1000 | BMCR_FULLDPLX;
			break;
		default:
			return -EINVAL;
		}