net: stmmac: Deprecate snps, phy-addr and auto-detect PHY address
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jan 2014 13:24:45 +0000 (21:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 04:02:03 +0000 (20:02 -0800)
commit436f7ecdcc08f71ddc106b7bbe3bcbf1785f3bff
tree90017636b2d4d51cc9cb1a7a4caa028c2806ffc8
parent6aedb8c06df732625cf998c1428396914f3139b4
net: stmmac: Deprecate snps, phy-addr and auto-detect PHY address

The snps,phy-addr device tree property is non-standard, and should be
removed in favor of proper phy node support. Remove it from the binding
documents and warn if the property is still used.

Most PHYs respond to address 0, but a few don't, so auto-detect PHY
address by default, to make up for the lack of explicit address selection.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/stmmac.txt
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c