diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-10-27 19:19:07 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-10-27 19:19:07 +0000 |
commit | 7776a7ddeced2af1e6f4947120191fc45d5569a8 (patch) | |
tree | 47deb3e49078a3f3115ade9a9eae96c7d98b5473 /target/linux/ppc40x/patches/002-disable_emac_loopback_mode.patch | |
parent | b05072d30f048a9f943a8dc5755306cb24c036f0 (diff) | |
download | upstream-7776a7ddeced2af1e6f4947120191fc45d5569a8.tar.gz upstream-7776a7ddeced2af1e6f4947120191fc45d5569a8.tar.bz2 upstream-7776a7ddeced2af1e6f4947120191fc45d5569a8.zip |
remove 2.6.28 support from ppc40x
SVN-Revision: 18187
Diffstat (limited to 'target/linux/ppc40x/patches/002-disable_emac_loopback_mode.patch')
-rw-r--r-- | target/linux/ppc40x/patches/002-disable_emac_loopback_mode.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/ppc40x/patches/002-disable_emac_loopback_mode.patch b/target/linux/ppc40x/patches/002-disable_emac_loopback_mode.patch deleted file mode 100644 index 18fefd872d..0000000000 --- a/target/linux/ppc40x/patches/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_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; - } - |