diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-09-12 01:53:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-13 05:24:21 +0200 |
commit | 00eb2243b933a496958f4ce1bcf59840fea8be16 (patch) | |
tree | df4d384c0ecfd12f839fcf48a77735f1e0ec257b /drivers/net/ethernet/smsc/smsc911x.c | |
parent | net: ethernet: Use phy_set_max_speed() to limit advertised speed (diff) | |
download | linux-00eb2243b933a496958f4ce1bcf59840fea8be16.tar.xz linux-00eb2243b933a496958f4ce1bcf59840fea8be16.zip |
net: bcmgenet: Fix speed selection for reverse MII
The phy supported speed is being used to determine if the MAC should
be configured to 100 or 1G. The masking logic is broken. Instead, look
at 1G supported speeds to enable 1G MAC support.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc/smsc911x.c')
0 files changed, 0 insertions, 0 deletions