AT91: dm9000 initialization update
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Sep 2010 09:38:43 +0000 (11:38 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 Sep 2010 09:39:23 +0000 (11:39 +0200)
Add information in dm9000 mac/phy chip initialization:
- irq resource details
- platform data details

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-sam9261ek.c

index c4c8865d52d7bfd84f5a22416ef7fe6bc1c472aa..b4307aba523dc3844f46d27b99871f1fe5745b2c 100644 (file)
@@ -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 = {