Skip to contentSkip to conversation

sh: modify a resource of sh_eth_giga1_resources in board-sh7757lcr

PATCH Applied Shimoda, Yoshihiro 2 participants 2 messages Feb 20, 2012 – Feb 24, 2012 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: modify a resource of sh_eth_giga1_resources in board-sh7757lcr

The latest sh_eth driver needs a resource of TSU in the channel 1, if the controller has TSU registers. So, this patch adds the resource.

---
 arch/sh/boards/board-sh7757lcr.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/sh/boards/board-sh7757lcr.c +5 -0
index 0838154..dd8ced3 100644
@@ -169,6 +169,11 @@ static struct resource sh_eth_giga1_resources[] = {
 		.end    = 0xfee00fff,
 		.flags  = IORESOURCE_MEM,
 	}, {
+		/* TSU */
+		.start  = 0xfee01800,
+		.end    = 0xfee01fff,
+		.flags  = IORESOURCE_MEM,
+	}, {
 		.start  = 316,
 		.end    = 316,
 		.flags  = IORESOURCE_IRQ,
Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 4 lines · Yoshihiro

The latest sh_eth driver needs a resource of TSU in the channel 1, if the controller has TSU registers. So, this patch adds the resource.

Applied, thanks.