]> 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)
commit42cea4d94b01a7c275d35604b065140ce9322aab
tree90017636b2d4d51cc9cb1a7a4caa028c2806ffc8
parent47d03b331aa43323f4b7017795ad7e7748e8ac03
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