summaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.org>2008-01-23 14:54:50 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-28 13:13:27 +0000
commit4e4fc05a2b6e7bd2e0facd96e0c18dceb34d9349 (patch)
tree61070cb71e3f1ee55f20a7e6c35ca1512db78685 /drivers/net/dm9000.c
parent2687bd38573ff6f10d13f60c5c3576cce9cf260d (diff)
downloadop-kernel-dev-4e4fc05a2b6e7bd2e0facd96e0c18dceb34d9349.zip
op-kernel-dev-4e4fc05a2b6e7bd2e0facd96e0c18dceb34d9349.tar.gz
[ARM] 4762/1: Basic support for Toradex Colibri module
This patch adds support for Toradex' PXA27x based Colibri module. It's kept as simple as possible to only provide basic functionality. A default config is also included. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r--drivers/net/dm9000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 3286d2a..6a20a54 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -66,6 +66,7 @@
#include <linux/dm9000.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
+#include <linux/irq.h>
#include <asm/delay.h>
#include <asm/irq.h>
@@ -113,7 +114,7 @@
#define writesl outsl
#define DM9000_IRQ_FLAGS (IRQF_SHARED | IRQF_TRIGGER_HIGH)
#else
-#define DM9000_IRQ_FLAGS IRQF_SHARED
+#define DM9000_IRQ_FLAGS (IRQF_SHARED | IRQT_RISING)
#endif
/*
OpenPOWER on IntegriCloud