commit | 00eb2243b933a496958f4ce1bcf59840fea8be16 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Sep 12 01:53:12 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 12 20:24:21 2018 -0700 |
tree | df4d384c0ecfd12f839fcf48a77735f1e0ec257b | |
parent | 58056c1e1b0e4951f3486bd552d8278194f8b84b [diff] |
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>