Commit 8d878c87 authored by Frank Sae's avatar Frank Sae Committed by Paolo Abeni
Browse files

net: phy: Optimize phy speed mask to be compatible to yt8821



yt8521 and yt8531s as Gigabit transceiver use bit15:14(bit9 reserved
default 0) as phy speed mask, yt8821 as 2.5G transceiver uses bit9 bit15:14
as phy speed mask.

Be compatible to yt8821, reform phy speed mask and phy speed macro.

Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarFrank Sae <Frank.Sae@motor-comm.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent d0c4dd9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment