summaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-27 06:27:42 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-27 06:27:42 +0000
commit51360819798cea16ab35a6ecb37d7bb834580e4c (patch)
treedf826a0407e7b2435ab1ba10b4f80bf5c0883341 /target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch
parent4d25d1cdf140bb05e258d3bf3ac67452294309be (diff)
kilauea uses ppc40x_simple now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17025 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch')
-rw-r--r--target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch b/target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch
deleted file mode 100644
index a82a7a132..000000000
--- a/target/linux/ppc40x/patches-2.6.30/002-disable_emac_loopback_mode.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/arch/powerpc/platforms/40x/kilauea.c
-+++ b/arch/powerpc/platforms/40x/kilauea.c
-@@ -21,6 +21,8 @@
- #include <asm/uic.h>
- #include <asm/pci-bridge.h>
- #include <asm/ppc4xx.h>
-+#include <asm/dcr.h>
-+#include <asm/dcr-regs.h>
-
- static __initdata struct of_device_id kilauea_of_bus[] = {
- { .compatible = "ibm,plb4", },
-@@ -46,6 +48,13 @@ static int __init kilauea_probe(void)
-
- ppc_pci_set_flags(PPC_PCI_REASSIGN_ALL_RSRC);
-
-+ /*
-+ * 405EX(r) has SDR0_MFR[E0CS/E1CS] set after reset. This selects
-+ * the internal loopback mode. Clear these bits so that both EMACs
-+ * don't use loopback mode as deafult.
-+ */
-+ mtdcri(SDR0, SDR0_MFR, mfdcri(SDR0, SDR0_MFR) & ~0x0c000000);
-+
- return 1;
- }
-