1 --- a/arch/powerpc/platforms/40x/kilauea.c
2 +++ b/arch/powerpc/platforms/40x/kilauea.c
5 #include <asm/pci-bridge.h>
6 #include <asm/ppc4xx.h>
8 +#include <asm/dcr-regs.h>
10 static __initdata struct of_device_id kilauea_of_bus[] = {
11 { .compatible = "ibm,plb4", },
12 @@ -46,6 +48,13 @@ static int __init kilauea_probe(void)
14 ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC;
17 + * 405EX(r) has SDR0_MFR[E0CS/E1CS] set after reset. This selects
18 + * the internal loopback mode. Clear these bits so that both EMACs
19 + * don't use loopback mode as deafult.
21 + mtdcri(SDR0, SDR0_MFR, mfdcri(SDR0, SDR0_MFR) & ~0x0c000000);