ibm_newemac: Cleanup/Fix RGMII MDIO support detection
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Dec 2007 00:14:28 +0000 (11:14 +1100)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:09:06 +0000 (15:09 -0500)
commit1f57877a39105ec4d99d63d02058f6db6ca6abe0
treee975e9f66a8b66687b66d32f00160c9fcc98d699
parent911b237d7d327db5371a762f4d8d8cd9ea763662
ibm_newemac: Cleanup/Fix RGMII MDIO support detection

More than just "AXON" version of EMAC RGMII supports MDIO, so replace
the current test with a generic property in the device-tree that
indicates such support.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
arch/powerpc/boot/dts/sequoia.dts
drivers/net/ibm_newemac/rgmii.c
drivers/net/ibm_newemac/rgmii.h