Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26749
b: refs/heads/master
c: 3170a5e
h: refs/heads/master
i:
  26747: 5764cda
v: v3
  • Loading branch information
Adrian Bunk authored and Russell King committed May 16, 2006
1 parent f1a3031 commit 8f30e2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 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: bb1a2aa617e67e2d60f22052b13422c7caeaf798
refs/heads/master: 3170a5e80be7db29ab5ccb6b4145cf28b4a156de
23 changes: 17 additions & 6 deletions trunk/arch/arm/kernel/dma-isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,23 @@ static struct dma_ops isa_dma_ops = {
.residue = isa_get_dma_residue,
};

static struct resource dma_resources[] = {
{ "dma1", 0x0000, 0x000f },
{ "dma low page", 0x0080, 0x008f },
{ "dma2", 0x00c0, 0x00df },
{ "dma high page", 0x0480, 0x048f }
};
static struct resource dma_resources[] = { {
.name = "dma1",
.start = 0x0000,
.end = 0x000f
}, {
.name = "dma low page",
.start = 0x0080,
.end = 0x008f
}, {
.name = "dma2",
.start = 0x00c0,
.end = 0x00df
}, {
.name = "dma high page",
.start = 0x0480,
.end = 0x048f
} };

void __init isa_init_dma(dma_t *dma)
{
Expand Down

0 comments on commit 8f30e2a

Please sign in to comment.