]> 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)
commit64f7f73e4d00a05fcd992138cc6e4fb725f56044
tree1266f92e283bb7d5300504cc3f764c2cb8d06e89
parent746d49e290b2fc94d4026b8f81e8e64bf55c4aa2
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