Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299507
b: refs/heads/master
c: ee9dd76
h: refs/heads/master
i:
  299505: b0e1f14
  299503: b85dc00
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Nicolas Ferre committed Apr 16, 2012
1 parent 9fa2173 commit f414625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: bf66b0d1dad30cc1241dc4e3ac193251a4694f5c
refs/heads/master: ee9dd7631af6fb5c02964ed5b496217cd4ced059
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-at91/board-sam9261ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ static struct resource dm9000_resource[] = {
.flags = IORESOURCE_MEM
},
[2] = {
.start = AT91_PIN_PC11,
.end = AT91_PIN_PC11,
.flags = IORESOURCE_IRQ
| IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE,
}
Expand Down Expand Up @@ -130,6 +128,8 @@ static struct sam9_smc_config __initdata dm9000_smc_config = {

static void __init ek_add_device_dm9000(void)
{
struct resource *r = &dm9000_resource[2];

/* Configure chip-select 2 (DM9000) */
sam9_smc_configure(0, 2, &dm9000_smc_config);

Expand All @@ -139,6 +139,7 @@ static void __init ek_add_device_dm9000(void)
/* Configure Interrupt pin as input, no pull-up */
at91_set_gpio_input(AT91_PIN_PC11, 0);

r->start = r->end = gpio_to_irq(AT91_PIN_PC11);
platform_device_register(&dm9000_device);
}
#else
Expand Down

0 comments on commit f414625

Please sign in to comment.