]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Refactor m88e1121 RGMII delay configuration
authorAndrew Lunn <andrew@lunn.ch>
Sun, 30 Jul 2017 20:41:48 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 01:00:23 +0000 (18:00 -0700)
commitbb6920a7e3034ba6d0b0256b66e6980b771d71d5
tree11db6e66dc73211e193bc0cad9bd70a2356a0938
parent68772c8042ca0ab3c95f5a32837ed5e4a4fa92a2
net: phy: marvell: Refactor m88e1121 RGMII delay configuration

Turns out that MII_M1116R_CONTROL_REG_MAC is the same as
MII_88E1121_PHY_MSCR_REG. Refactor the code to set the RGMII delays
into a shared helper.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c