Skip to contentSkip to conversation

sh: sh7763rdp: Change IRQ number for sh_eth of sh7763rdp

PATCH In review Nobuhiro Iwamatsu 2 participants 3 messages Mar 17, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: sh7763rdp: Change IRQ number for sh_eth of sh7763rdp

IRQ for sh_eth of sh7763rdp became multi handling. Therefore, the IRQ number of sh_eth is changed, too.

---
 arch/sh/boards/mach-sh7763rdp/setup.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
arch/sh/boards/mach-sh7763rdp/setup.c +7 -3
index 6f926fd..27d1c9e 100644
@@ -63,15 +63,19 @@ static struct platform_device sh7763rdp_nor_flash_device = {
 	},
 };
 
-/* SH-Ether */
+/*
+ * SH-Ether
+ *
+ * SH Ether of SH7763 has multi IRQ handling.
+ * (57,58,59 -> 57)
+ */
 static struct resource sh_eth_resources[] = {
 	{
 		.start  = 0xFEE00800,   /* use eth1 */
 		.end    = 0xFEE00F7C - 1,
 		.flags  = IORESOURCE_MEM,
 	}, {
-		.start  = 58,   /* irq number */
-		.end    = 58,
+		.start  = 57,   /* irq number */
 		.flags  = IORESOURCE_IRQ,
 	},
 };
Signature · 1 line
1.6.2
#1 lore raw
Quoted 4 lines · Nobuhiro Iwamatsu

IRQ for sh_eth of sh7763rdp became multi handling. Therefore, the IRQ number of sh_eth is changed, too.

Quoted 4 lines · Nobuhiro Iwamatsu

Espt-giga is the board which used SH7763. This supports serial, Gigabit ether, USB host and MTD.

I've rolled the defconfig patch in with the board patch and checked these in, thanks.

#2 lore raw
In reply to Nobuhiro Iwamatsu
Quoted 6 lines · Paul Mundt
Quoted 4 lines · Nobuhiro Iwamatsu

IRQ for sh_eth of sh7763rdp became multi handling. Therefore, the IRQ number of sh_eth is changed, too.

Quoted 9 lines
Quoted 4 lines · Nobuhiro Iwamatsu

Espt-giga is the board which used SH7763. This supports serial, Gigabit ether, USB host and MTD.

I've rolled the defconfig patch in with the board patch and checked these in, thanks.

OK, thank you a lot.

Best regards,
Nobuhiro