public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix ethernet IRQF_TRIGGER flag for apollon
@ 2006-12-22  5:57 Kyungmin Park
  2006-12-22 20:26 ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Kyungmin Park @ 2006-12-22  5:57 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap-open-source@linux.omap.com

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]


> Yeah, I believe the omap level gpios should work fine too. Kyungmin,
> do you have some special interrupt routing for your smc91x? Or do you
> see this only with the RT patches applied?

Yes It's problem on only RT environment.
But I think it's safe to set IRQF_TRIGGER_RISING instead of IRQF_TRIGGER_HIGH. even though it is level-sensive.

Thank you,
Kyungmin Park




[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH] ARM: OMAP: Fix ethernet IRQF_TRIGGER flag for apollon
@ 2006-12-21  9:43 Dirk Behme
  2006-12-21 21:57 ` Tony Lindgren
  2006-12-22 21:08 ` Tony Lindgren
  0 siblings, 2 replies; 8+ messages in thread
From: Dirk Behme @ 2006-12-21  9:43 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]


ARM: OMAP: Fix ethernet IRQF_TRIGGER flag for apollon

As reported by Kyungmin Park, ethernet IRQF_TRIGGER flag for
apollon has to be IRQF_TRIGGER_RISING instead of
IRQF_TRIGGER_HIGH.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>


[-- Attachment #2: appollon_ethernet_irqf_trigger_fix.txt --]
[-- Type: text/plain, Size: 499 bytes --]

Index: linux-osk/drivers/net/smc91x.h
===================================================================
--- linux-osk.orig/drivers/net/smc91x.h
+++ linux-osk/drivers/net/smc91x.h
@@ -198,7 +198,7 @@ SMC_outw(u16 val, void __iomem *ioaddr, 
 				? IRQF_TRIGGER_RISING : IRQF_TRIGGER_FALLING)
 #else
 #define SMC_IRQ_FLAGS		(machine_is_omap_apollon()		\
-				? IRQF_TRIGGER_HIGH : IRQF_TRIGGER_LOW)
+				? IRQF_TRIGGER_RISING : IRQF_TRIGGER_LOW)
 #endif
 
 #elif	defined(CONFIG_SH_SH4202_MICRODEV)


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-22 21:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22  5:57 [PATCH] ARM: OMAP: Fix ethernet IRQF_TRIGGER flag for apollon Kyungmin Park
2006-12-22 20:26 ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2006-12-21  9:43 Dirk Behme
2006-12-21 21:57 ` Tony Lindgren
2006-12-21 22:19   ` Syed Mohammed, Khasim
2006-12-21 22:24   ` Woodruff, Richard
2006-12-21 23:29     ` Tony Lindgren
2006-12-22 21:08 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox