of: make of_get_phy_mode parse 'phy-connection-type'
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 15 Nov 2013 06:23:32 +0000 (06:23 +0000)
committerGrant Likely <grant.likely@linaro.org>
Mon, 3 Feb 2014 14:19:39 +0000 (14:19 +0000)
commitcf4c9eb5a451ba26246477dd3168e98b7a5c1b1c
tree5b45e915c35cd6b0a12305d74e15fda9f61c2c7f
parentf5fab57dc99eeb01bf09a4262cb4bab786ccffb2
of: make of_get_phy_mode parse 'phy-connection-type'

Per the ePAPR v1.1 specification, 'phy-connection-type' is the canonical
property name for describing an Ethernet to PHY connection type. Make
sure that of_get_phy_mode() also attempts to parse that property and
update the comments mentioning 'phy-mode' to also include
'phy-connection-type'.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/of_net.c