ibm_newemac: Cleanup/fix support for STACR register variants
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Dec 2007 00:14:29 +0000 (11:14 +1100)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:09:06 +0000 (15:09 -0500)
commitbff713b562d495658093f1716a80c6ad76920e8b
tree584374279b328d171b158f51faeb94766fce2421
parent1f57877a39105ec4d99d63d02058f6db6ca6abe0
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>
arch/powerpc/boot/dts/sequoia.dts
drivers/net/ibm_newemac/core.c
drivers/net/ibm_newemac/core.h