]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c8bdedf05f8e7ce568d692119b599232fc001ad
tree90017636b2d4d51cc9cb1a7a4caa028c2806ffc8
parent6f2ab64dc9ad0a64fd9b74d0ace5080b2a874b76
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