net: phy: marvell: Limit errata to 88m1101
authorAndrew Lunn <andrew@lunn.ch>
Tue, 23 May 2017 15:49:13 +0000 (17:49 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 15 Sep 2017 17:30:58 +0000 (18:30 +0100)
commita2e7af734c613e1811f40a88a58f3ba684b2a961
treed25c5026921dc8ffeb128f765dd0644f26342f42
parenta9a659c916c81b3385479ee00d4547912f08abf6
net: phy: marvell: Limit errata to 88m1101

commit f2899788353c13891412b273fdff5f02d49aa40f upstream.

The 88m1101 has an errata when configuring autoneg. However, it was
being applied to many other Marvell PHYs as well. Limit its scope to
just the 88m1101.

Fixes: 76884679c644 ("phylib: Add support for Marvell 88e1111S and 88e1145")
Reported-by: Daniel Walker <danielwa@cisco.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/phy/marvell.c