patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / ppc / platforms / 4xx / ep405.c
index 5f3f6dc..26a07cd 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/pci-bridge.h>
 #include <asm/machdep.h>
 #include <asm/todc.h>
+#include <asm/ocp.h>
 #include <asm/ibm_ocp_pci.h>
 
 #undef DEBUG
@@ -59,6 +60,8 @@ ep405_setup_arch(void)
 {
        ppc4xx_setup_arch();
 
+       ibm_ocp_set_emac(0, 0);
+
        if (__res.bi_nvramsize == 512*1024) {
                /* FIXME: we should properly handle NVRTCs of different sizes */
                TODC_INIT(TODC_TYPE_DS1557, ep405_nvram, ep405_nvram, ep405_nvram, 8);