summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2010-09-10 11:38:43 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2010-09-10 11:39:23 +0200
commit1879c45cce6411fe97b0b65ccad38f5206700dda (patch)
treefa44aa094049ce78f33b1259f6e79a35518a66fe
parentab64511cbbd03196d84bcc32c6e7b9d46543df7b (diff)
downloadop-kernel-dev-1879c45cce6411fe97b0b65ccad38f5206700dda.zip
op-kernel-dev-1879c45cce6411fe97b0b65ccad38f5206700dda.tar.gz
AT91: dm9000 initialization update
Add information in dm9000 mac/phy chip initialization: - irq resource details - platform data details Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/mach-at91/board-sam9261ek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c
index c4c8865..b4307ab 100644
--- a/arch/arm/mach-at91/board-sam9261ek.c
+++ b/arch/arm/mach-at91/board-sam9261ek.c
@@ -93,11 +93,12 @@ static struct resource dm9000_resource[] = {
.start = AT91_PIN_PC11,
.end = AT91_PIN_PC11,
.flags = IORESOURCE_IRQ
+ | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE,
}
};
static struct dm9000_plat_data dm9000_platdata = {
- .flags = DM9000_PLATF_16BITONLY,
+ .flags = DM9000_PLATF_16BITONLY | DM9000_PLATF_NO_EEPROM,
};
static struct platform_device dm9000_device = {
OpenPOWER on IntegriCloud