The M523x initialized the irq controller properly, the driver must not do
it anymore.

Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
 drivers/net/fec.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 588841d..5cac8ad 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1409,7 +1409,7 @@ static void fec_request_intrs(struct net_device *dev)
                printk("FEC: Could not allocate %s IRQ(%d)!\n",
                        idp->name, b + idp->irq);
        }
-
+#if defined(CONFIG_M527x) || defined(CONFIG_M528x)
        /* Unmask interrupts at ColdFire 5280/5282 interrupt controller */
        {
                volatile unsigned char *icrp;
@@ -1429,7 +1429,7 @@ static void fec_request_intrs(struct net_device *dev)
                                                  MCFINTC_IMRL);
                *imrp &= ~0xff800001;
        }
-
+#endif
 #if defined(CONFIG_M528x)
        /* Set up gpio outputs for MII lines */
        {
@@ -1442,7 +1442,6 @@ static void fec_request_intrs(struct net_device *dev)
                *gpio_pehlpar = 0xc0;
        }
 #endif
-
 #if defined(CONFIG_M527x)
        /* Set up gpio outputs for MII lines */
        {
-- 
1.5.5.1

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to