Sebastian Siewior
Wed, 09 Apr 2008 07:16:06 -0700
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1409,7 +1409,7 @@ static void fec_request_intrs(struct net
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
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
*gpio_pehlpar = 0xc0;
}
#endif
-
#if defined(CONFIG_M527x)
/* Set up gpio outputs for MII lines */
{
-- _______________________________________________ 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