]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Allow DSA and CPU ports to have a phy-mode property
authorAndrew Lunn <andrew@lunn.ch>
Mon, 31 Aug 2015 13:56:50 +0000 (15:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 21:48:02 +0000 (14:48 -0700)
commitdeecb724c5ca8b103fbe4e9dd4fcdaa4ef17d0ac
tree1266f92e283bb7d5300504cc3f764c2cb8d06e89
parent2a5e1f068ea64569328192f8be46845533eb96a7
net: dsa: Allow DSA and CPU ports to have a phy-mode property

It can be useful for DSA and CPU ports to have a phy-mode property, in
particular to specify RGMII delays. Parse the property and set it in
the fixed-link phydev.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c