linux-stable-rt/arch/arm/mach-pxa
Russell King 9ded96f24c [PATCH] IRQ type flags
Some ARM platforms have the ability to program the interrupt controller to
detect various interrupt edges and/or levels.  For some platforms, this is
critical to setup correctly, particularly those which the setting is dependent
on the device.

Currently, ARM drivers do (eg) the following:

	err = request_irq(irq, ...);

	set_irq_type(irq, IRQT_RISING);

However, if the interrupt has previously been programmed to be level sensitive
(for whatever reason) then this will cause an interrupt storm.

Hence, if we combine set_irq_type() with request_irq(), we can then safely set
the type prior to unmasking the interrupt.  The unfortunate problem is that in
order to support this, these flags need to be visible outside of the ARM
architecture - drivers such as smc91x need these flags and they're
cross-architecture.

Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the
property that the device would like.  The IRQ controller code should do its
best to select the most appropriate supported mode.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:46 -08:00
..
Kconfig [ARM] 3228/1: SharpSL: Move PM code to arch/arm/common 2006-01-05 20:44:55 +00:00
Makefile [ARM] 3160/1: SharpSL: Add driver for Akita specific GPIOs 2005-11-13 10:07:48 +00:00
Makefile.boot
akita-ioexp.c [PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed 2006-01-05 22:16:25 -08:00
corgi.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
corgi_lcd.c [ARM] Include asm/hardware.h instead of asm/arch/hardware.h 2005-11-16 14:51:20 +00:00
corgi_pm.c [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
corgi_ssp.c
dma.c
generic.c
generic.h
idp.c
irq.c
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c
leds.h
lubbock.c
mainstone.c Merge with Linus' kernel. 2006-01-07 14:40:05 +00:00
pm.c [ARM] 3201/1: PXA27x: Prevent hangup during resume due to inadvertedly enabling MBREQ (replaces: 3198/1) 2005-12-12 16:44:05 +00:00
poodle.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
pxa25x.c
pxa27x.c [PATCH] USB: pxa27x OHCI - Separate platform code from main driver 2006-01-04 13:48:28 -08:00
sharpsl.h [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sharpsl_pm.c [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sleep.S
spitz.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
spitz_pm.c [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
ssp.c
standby.S
time.c
tosa.c [ARM] 3170/1: Sharp SL-6000x: platform device conversion fixup 2005-11-21 15:17:06 +00:00