From: Dirk Behme <dirk.behme@googlemail.com>
To: "Syed Mohammed, Khasim" <x0khasim@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] To add OMAP 2430 Support
Date: Fri, 03 Nov 2006 20:28:44 +0100 [thread overview]
Message-ID: <454B986C.6070301@gmail.com> (raw)
In-Reply-To: <77C7F7CB1230A74A9D19C0C111E6EDBE01C6AEA2@DLEE09.ent.ti.com>
Syed Mohammed, Khasim wrote:
> ethernet_fix_2430.patch
> -----------------------
> This patch updates the GPIO interrupt line behavior for SMC91x
> interrupts on 2430 SDP.
>
> --- linux-omap/drivers/net/smc91x.h 2006-11-02
00:16:21.000000000 -0600
> +++ dev-linux-omap-2.6.git/drivers/net/smc91x.h
2006-11-02 15:38:13.000000000 -0600
> @@ -192,14 +192,16 @@ SMC_outw(u16 val, void __iomem
*ioaddr,
> #include <asm/mach-types.h>
> #include <asm/arch/cpu.h>
>
> +#ifdef CONFIG_ARCH_OMAP2430
> +#define SMC_IRQ_FLAGS SA_TRIGGER_LOW
> +#else
> #define SMC_IRQ_FLAGS (( \
> machine_is_omap_h2() \
> || machine_is_omap_h3() \
> || machine_is_omap_h4() \
> || (machine_is_omap_innovator() && !cpu_is_omap1510()) \
> ) ? IRQF_TRIGGER_FALLING : IRQF_TRIGGER_RISING)
> -
> -
> +#endif
> #elif defined(CONFIG_SH_SH4202_MICRODEV)
Regarding SA_TRIGGER_LOW, include/linux/interrupt.h tells us
/*
* Migration helpers. Scheduled for removal in 1/2007
* Do not use for new code !
*/
...
#define SA_TRIGGER_LOW IRQF_TRIGGER_LOW
Any chance (even if I don't see it at the moment ;) ) to
integrate IRQF_TRIGGER_LOW instead into the existing
SMC_IRQ_FLAGS using machine_is_omap_2430sdp and avoiding the
additional #ifdef?
Cheers
Dirk
next prev parent reply other threads:[~2006-11-03 19:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 18:44 [PATCH] To add OMAP 2430 Support Syed Mohammed, Khasim
2006-11-03 19:03 ` Dirk Behme
2006-11-03 19:28 ` Dirk Behme [this message]
2006-11-03 22:00 ` David Brownell
2006-11-03 22:49 ` Syed Mohammed, Khasim
2006-11-09 2:23 ` Tony Lindgren
2006-11-09 2:22 ` Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2006-11-09 15:01 Woodruff, Richard
2006-11-10 0:46 ` Tony Lindgren
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=454B986C.6070301@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=x0khasim@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.