Skip to content

Commit

Permalink
[MIPS] Jazz: Fix I/O port resources.
Browse files Browse the repository at this point in the history
struct resource members were shuffeled a while ago.

Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Oct 8, 2006
1 parent d62801e commit 2cf69e7
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions arch/mips/jazz/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,27 @@ void __init plat_time_init(struct irqaction *irq)
}

static struct resource jazz_io_resources[] = {
{ "dma1", 0x00, 0x1f, IORESOURCE_BUSY },
{ "timer", 0x40, 0x5f, IORESOURCE_BUSY },
{ "dma page reg", 0x80, 0x8f, IORESOURCE_BUSY },
{ "dma2", 0xc0, 0xdf, IORESOURCE_BUSY },
{
.start = 0x00,
.end = 0x1f,
.name = "dma1",
.flags = IORESOURCE_BUSY
}, {
.start = 0x40,
.end = 0x5f,
.name = "timer",
.end = IORESOURCE_BUSY
}, {
.start = 0x80,
.end = 0x8f,
.name = "dma page reg",
.flags = IORESOURCE_BUSY
}, {
.start = 0xc0,
.end = 0xdf,
.name = "dma2",
.flags = IORESOURCE_BUSY
}
};

void __init plat_mem_setup(void)
Expand Down

0 comments on commit 2cf69e7

Please sign in to comment.