summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXie Xiaobo <r63061@freescale.com>2010-12-24 17:05:25 +0800
committerFrank Li <Frank.Li@freescale.com>2010-12-24 18:59:03 +0800
commitcb1de64a82b1162663ef6c3b0e6487e50b245bd7 (patch)
tree31f700d0822067b2d6c76468f0aba2d86a1d5d64
parentdcb5f3248d52d9120068a721081c88abef62959a (diff)
ENGR00137362-1 L2Switch: Add ENET-MAC interrupt resource
In Switch mode, The ENET-MAC interrupts are enabled and can be used to monitor the line activity. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
-rw-r--r--arch/arm/mach-mx28/device.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mx28/device.c b/arch/arm/mach-mx28/device.c
index d6b44d354b52..f0083466ea3e 100644
--- a/arch/arm/mach-mx28/device.c
+++ b/arch/arm/mach-mx28/device.c
@@ -869,6 +869,16 @@ static struct resource l2switch_resources[] = {
.end = IRQ_ENET_SWI,
.flags = IORESOURCE_IRQ
},
+ {
+ .start = IRQ_ENET_MAC0,
+ .end = IRQ_ENET_MAC0,
+ .flags = IORESOURCE_IRQ
+ },
+ {
+ .start = IRQ_ENET_MAC1,
+ .end = IRQ_ENET_MAC1,
+ .flags = IORESOURCE_IRQ
+ },
};
/* Define the fixed address of the L2 Switch hardware. */