summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-05 11:14:29 +1100
committerJeff Garzik <jeff@garzik.org>2007-12-07 15:09:06 -0500
commitbff713b562d495658093f1716a80c6ad76920e8b (patch)
tree584374279b328d171b158f51faeb94766fce2421 /arch/powerpc
parent1f57877a39105ec4d99d63d02058f6db6ca6abe0 (diff)
downloadop-kernel-dev-bff713b562d495658093f1716a80c6ad76920e8b.zip
op-kernel-dev-bff713b562d495658093f1716a80c6ad76920e8b.tar.gz
ibm_newemac: Cleanup/fix support for STACR register variants
There are a few variants of the STACR register that affect more than just the "AXON" version of EMAC. Replace the current test of various chip models with tests for generic properties in the device-tree. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/boot/dts/sequoia.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts
index 3d0dfae..10784ff 100644
--- a/arch/powerpc/boot/dts/sequoia.dts
+++ b/arch/powerpc/boot/dts/sequoia.dts
@@ -274,6 +274,8 @@
zmii-channel = <0>;
rgmii-device = <&RGMII0>;
rgmii-channel = <0>;
+ has-inverted-stacr-oc;
+ has-new-stacr-staopc;
};
EMAC1: ethernet@ef600f00 {
@@ -302,6 +304,8 @@
zmii-channel = <1>;
rgmii-device = <&RGMII0>;
rgmii-channel = <1>;
+ has-inverted-stacr-oc;
+ has-new-stacr-staopc;
};
};
};
OpenPOWER on IntegriCloud