From cb1de64a82b1162663ef6c3b0e6487e50b245bd7 Mon Sep 17 00:00:00 2001 From: Xie Xiaobo Date: Fri, 24 Dec 2010 17:05:25 +0800 Subject: 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 --- arch/arm/mach-mx28/device.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. */ -- cgit v1.2.3