Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305271
b: refs/heads/master
c: 20688c3
h: refs/heads/master
i:
  305269: 1fbc020
  305267: 3c2abb5
  305263: 25e62f3
v: v3
  • Loading branch information
Paul Mundt committed May 18, 2012
1 parent b372870 commit 5f569fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 054f0378a5ed2f8bd99f87846f0464e2440108d4
refs/heads/master: 20688c3093caf5d3b1ebf36819b1d6b3247a811d
17 changes: 9 additions & 8 deletions trunk/arch/sh/kernel/cpu/sh4/setup-sh7750.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/serial.h>
#include <linux/io.h>
#include <linux/sh_timer.h>
#include <linux/sh_intc.h>
#include <linux/serial_sci.h>
#include <generated/machtypes.h>

Expand All @@ -24,7 +25,7 @@ static struct resource rtc_resources[] = {
},
[1] = {
/* Shared Period/Carry/Alarm IRQ */
.start = 20,
.start = evt2irq(0x480),
.flags = IORESOURCE_IRQ,
},
};
Expand All @@ -43,7 +44,7 @@ static struct plat_sci_port sci_platform_data = {
.scscr = SCSCR_TE | SCSCR_RE,
.scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCI,
.irqs = { 23, 23, 23, 0 },
.irqs = SCIx_IRQ_MUXED(evt2irq(0x4e0)),
.regshift = 2,
};

Expand All @@ -61,7 +62,7 @@ static struct plat_sci_port scif_platform_data = {
.scscr = SCSCR_TE | SCSCR_RE | SCSCR_REIE,
.scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF,
.irqs = { 40, 40, 40, 40 },
.irqs = SCIx_IRQ_MUXED(evt2irq(0x700)),
};

static struct platform_device scif_device = {
Expand All @@ -85,7 +86,7 @@ static struct resource tmu0_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 16,
.start = evt2irq(0x400),
.flags = IORESOURCE_IRQ,
},
};
Expand Down Expand Up @@ -113,7 +114,7 @@ static struct resource tmu1_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 17,
.start = evt2irq(0x420),
.flags = IORESOURCE_IRQ,
},
};
Expand All @@ -140,7 +141,7 @@ static struct resource tmu2_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 18,
.start = evt2irq(0x440),
.flags = IORESOURCE_IRQ,
},
};
Expand Down Expand Up @@ -172,7 +173,7 @@ static struct resource tmu3_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 72,
.start = evt2irq(0xb00),
.flags = IORESOURCE_IRQ,
},
};
Expand All @@ -199,7 +200,7 @@ static struct resource tmu4_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 76,
.start = evt2irq(0xb80),
.flags = IORESOURCE_IRQ,
},
};
Expand Down

0 comments on commit 5f569fb

Please sign in to comment.