aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r--drivers/net/fec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 0ba9f77603f6..6b7641873e7a 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1387,13 +1387,13 @@ static void __inline__ fec_request_intrs(struct net_device *dev)
1387 { 1387 {
1388 volatile unsigned char *icrp; 1388 volatile unsigned char *icrp;
1389 volatile unsigned long *imrp; 1389 volatile unsigned long *imrp;
1390 int i; 1390 int i, ilip;
1391 1391
1392 b = (fep->index) ? MCFICM_INTC1 : MCFICM_INTC0; 1392 b = (fep->index) ? MCFICM_INTC1 : MCFICM_INTC0;
1393 icrp = (volatile unsigned char *) (MCF_IPSBAR + b + 1393 icrp = (volatile unsigned char *) (MCF_IPSBAR + b +
1394 MCFINTC_ICR0); 1394 MCFINTC_ICR0);
1395 for (i = 23; (i < 36); i++) 1395 for (i = 23, ilip = 0x28; (i < 36); i++)
1396 icrp[i] = 0x23; 1396 icrp[i] = ilip--;
1397 1397
1398 imrp = (volatile unsigned long *) (MCF_IPSBAR + b + 1398 imrp = (volatile unsigned long *) (MCF_IPSBAR + b +
1399 MCFINTC_IMRH); 1399 MCFINTC_IMRH);