diff options
author | Nimrod Andy <B38611@freescale.com> | 2014-12-10 20:20:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 23:37:01 -0500 |
commit | e17f7fecddd4b6a5a6b0758fc0301e9233d3ae78 (patch) | |
tree | 01a535394fc0a001316aca1ee210b01c609a61ea /drivers/net/ethernet/freescale | |
parent | 858eeb7d9ce2e5c8e0192d9e2a3d84b2dd72a801 (diff) |
net: fec: clear all interrupt events to support i.MX6SX
For i.MX6SX FEC controller, there have interrupt mask and event
field extension. To support all SOCs FEC, we clear all interrupt
events during MAVC initial process.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index b118b7da3466..85c955e4383f 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -940,7 +940,7 @@ fec_restart(struct net_device *ndev) | |||
940 | } | 940 | } |
941 | 941 | ||
942 | /* Clear any outstanding interrupt. */ | 942 | /* Clear any outstanding interrupt. */ |
943 | writel(0xffc00000, fep->hwp + FEC_IEVENT); | 943 | writel(0xffffffff, fep->hwp + FEC_IEVENT); |
944 | 944 | ||
945 | fec_enet_bd_init(ndev); | 945 | fec_enet_bd_init(ndev); |
946 | 946 | ||