OSDN Git Service

net: phy: bcm54140: apply the workaround on b0 chips
authorMichael Walle <michael@walle.cc>
Tue, 28 Apr 2020 23:06:58 +0000 (01:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 03:55:49 +0000 (20:55 -0700)
commite9a66851de722dfa97a41e982266603cdb97ea3b
tree9cf83790e74598d1d5adf3e76f6542b668ae944d
parentafcecca56f0cd287c7895511dc380b95c633b1a2
net: phy: bcm54140: apply the workaround on b0 chips

The lower three bits of the phy_id specifies the chip stepping. The
workaround is specifically for the B0 stepping. Apply it only on these
chips.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm54140.c