net: phy: marvell 88e151x: Fix handling of RGMII interface types
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Wed, 24 May 2017 13:43:06 +0000 (14:43 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 2 Jun 2017 19:44:19 +0000 (14:44 -0500)
commit68e6ecadc551250a73ff28e970440955f3e46ac2
tree9e5f2634622400995dc31fbf80a2fc28004e63f7
parentc08248d601e939ababe1642d11be63d0c14c7d1a
net: phy: marvell 88e151x: Fix handling of RGMII interface types

The 88E1518 code is programming the wrong registers for rgmii-id,
rgmii-txid and rgmii-rxid interfaces.

Since the PHY defaults to rgmii-id, it would appear that the code
was previously only used with sgmii and rgmii-id interfaces.

Tested on 88E1512 PHY in rgmii-id mode which is from the same family
as 88E1518.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/marvell.c