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 91daf0785ee8..ff7e449ad573 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1270,7 +1270,7 @@ static void __inline__ fec_request_intrs(struct net_device *dev)
1270 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR3); 1270 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR3);
1271 *icrp = 0x00000ddd; 1271 *icrp = 0x00000ddd;
1272 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1); 1272 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1);
1273 *icrp = (*icrp & 0x70777777) | 0x0d000000; 1273 *icrp = 0x0d000000;
1274} 1274}
1275 1275
1276static void __inline__ fec_set_mii(struct net_device *dev, struct fec_enet_private *fep) 1276static void __inline__ fec_set_mii(struct net_device *dev, struct fec_enet_private *fep)
@@ -1332,7 +1332,7 @@ static void __inline__ fec_disable_phy_intr(void)
1332{ 1332{
1333 volatile unsigned long *icrp; 1333 volatile unsigned long *icrp;
1334 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1); 1334 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1);
1335 *icrp = (*icrp & 0x70777777) | 0x08000000; 1335 *icrp = 0x08000000;
1336} 1336}
1337 1337
1338static void __inline__ fec_phy_ack_intr(void) 1338static void __inline__ fec_phy_ack_intr(void)
@@ -1340,7 +1340,7 @@ static void __inline__ fec_phy_ack_intr(void)
1340 volatile unsigned long *icrp; 1340 volatile unsigned long *icrp;
1341 /* Acknowledge the interrupt */ 1341 /* Acknowledge the interrupt */
1342 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1); 1342 icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1);
1343 *icrp = (*icrp & 0x77777777) | 0x08000000; 1343 *icrp = 0x0d000000;
1344} 1344}
1345 1345
1346static void __inline__ fec_localhw_setup(void) 1346static void __inline__ fec_localhw_setup(void)