From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix Apollon and OSK ethernet IRQ flags
Date: Thu, 16 Nov 2006 17:36:53 +0100 [thread overview]
Message-ID: <455C93A5.8010203@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
Fix IRQ flags for Apollon and OSK (OMAP5912) board. Apollon
fix from
Kyungmin Park (kyungmin.park_at_samsung.com):
Apollon (omap2420) use IRQF_TRIGGER_RISING which means
IRQF_TRIGGER_HIGH.
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
[-- Attachment #2: smc_irq_flags_patch.txt --]
[-- Type: text/plain, Size: 824 bytes --]
Index: linux-osk/drivers/net/smc91x.h
===================================================================
--- linux-osk.orig/drivers/net/smc91x.h
+++ linux-osk/drivers/net/smc91x.h
@@ -193,10 +193,12 @@ SMC_outw(u16 val, void __iomem *ioaddr,
#include <asm/arch/cpu.h>
#ifdef CONFIG_ARCH_OMAP1
-#define SMC_IRQ_FLAGS (machine_is_omap_innovator() ? IRQF_TRIGGER_RISING : \
- IRQF_TRIGGER_FALLING)
+#define SMC_IRQ_FLAGS ((machine_is_omap_innovator() || \
+ machine_is_omap_osk()) \
+ ? IRQF_TRIGGER_RISING : IRQF_TRIGGER_FALLING)
#else
-#define SMC_IRQ_FLAGS IRQF_TRIGGER_LOW
+#define SMC_IRQ_FLAGS (machine_is_omap_apollon() \
+ ? IRQF_TRIGGER_HIGH : IRQF_TRIGGER_LOW)
#endif
#elif defined(CONFIG_SH_SH4202_MICRODEV)
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2006-11-16 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-16 16:36 Dirk Behme [this message]
2006-11-17 21:46 ` [PATCH] ARM: OMAP: Fix Apollon and OSK ethernet IRQ flags Tony Lindgren
2006-11-18 6:09 ` Dirk Behme
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=455C93A5.8010203@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox