]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf4c8c2d1188b60daecf44946c7d896cc33b4d470
tree9e5f2634622400995dc31fbf80a2fc28004e63f7
parent9250257ef397638c9823816eaffae781b17c6d34
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