linux/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
..
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_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 Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-11-11 09:24:26 -08:00
corgi.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
generic.c Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
generic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idp.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
irq.c [ARM] Wrap calls to descriptor handlers 2005-09-04 19:45:00 +01:00
Kconfig [ARM] 3228/1: SharpSL: Move PM code to arch/arm/common 2006-01-05 20:44:55 +00:00
leds-idp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds-lubbock.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds-mainstone.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lubbock.c [ARM] 3087/1: PXA2xx flash platform device conversion 2005-11-04 17:15:45 +00:00
mainstone.c Merge with Linus' kernel. 2006-01-07 14:40:05 +00:00
Makefile [ARM] 3160/1: SharpSL: Add driver for Akita specific GPIOs 2005-11-13 10:07:48 +00:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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 [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
pxa27x.c [PATCH] USB: pxa27x OHCI - Separate platform code from main driver 2006-01-04 13:48:28 -08:00
sharpsl_pm.c [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sharpsl.h [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sleep.S [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
spitz_pm.c [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
spitz.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
ssp.c [ARM] 3098/1: pxa2xx disable ssp irq 2005-11-10 17:45:39 +00:00
standby.S [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
time.c [ARM] 3135/1: harden SA11x0 and PXA2xx timer init code 2005-11-08 22:43:06 +00:00
tosa.c [ARM] 3170/1: Sharp SL-6000x: platform device conversion fixup 2005-11-21 15:17:06 +00:00