diff options
author | Frank Sae <Frank.Sae@motor-comm.com> | 2024-09-01 01:35:25 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-05 15:21:12 +0200 |
commit | 8d878c87b5c45ae64b0aecd4aac71e210d19173f (patch) | |
tree | 558b2b1f109433f55cb1bc9fc01077ea6b5afc38 /drivers/net/netkit.c | |
parent | d0c4dd9f7ca62be949343e3f6e59ce18f7873657 (diff) |
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: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions