kernel-ark/include/asm-arm
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
..
arch-aaec2000 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-cl7500 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-clps711x [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-ebsa110 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-ebsa285 [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h 2006-01-04 15:30:48 +00:00
arch-epxa10db [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-h720x [ARM] Include asm/hardware.h instead of asm/arch/hardware.h 2005-11-16 14:51:20 +00:00
arch-imx [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-integrator [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
arch-iop3xx [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-ixp4xx [ARM] 3226/1: IXP4xx runtime expansion bus window size configuration 2006-01-05 20:59:29 +00:00
arch-ixp2000 [ARM] 3225/1: add symbolic names for enp2611 gpio interrupts 2006-01-04 17:17:17 +00:00
arch-l7200 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-lh7a40x [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-omap [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
arch-pxa Merge with Linus' kernel. 2006-01-07 14:40:05 +00:00
arch-realview [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
arch-rpc [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
arch-s3c2410 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-sa1100 [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
arch-shark
arch-versatile [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
hardware [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
mach [ARM] Remove '__address' from scatterlist and convert to DMA API 2006-01-04 15:08:30 +00:00
a.out.h
apm.h
assembler.h [ARM] Clean up save_and_disable_irqs macro and allow use of ARMv6 CPSID 2005-11-09 15:04:22 +00:00
atomic.h [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
auxvec.h
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bug.h
bugs.h
byteorder.h [ARM] byteorder.h needs linux/compiler.h 2006-01-07 16:55:50 +00:00
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
checksum.h
cpu-multi32.h
cpu-single.h
cpu.h [ARM SMP] Track CPU idle threads 2005-11-02 21:51:40 +00:00
cputime.h
current.h
delay.h
div64.h
dma-mapping.h
dma.h [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h 2006-01-04 15:30:48 +00:00
domain.h
ecard.h
elf.h [ARM] 3205/1: Handle new EABI relocations when loading kernel modules. 2005-12-14 22:04:22 +00:00
emergency-restart.h
errno.h
fcntl.h
fiq.h
floppy.h
fpstate.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
glue.h
hardirq.h [ARM SMP] Add core ARM support for local timers 2005-11-08 19:08:05 +00:00
hardware.h
ide.h
io.h [ARM] 3191/1: Mark I/O pointer as const in __raw_reads[bwl] 2005-12-05 10:54:59 +00:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
kmap_types.h
leds.h
limits.h
linkage.h
local.h
locks.h
mc146818rtc.h
memory.h [ARM] 3194/1: add pfn_to_kaddr macro for ARM take2 2005-12-05 10:55:00 +00:00
mman.h [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store 2006-01-06 08:33:22 -08:00
mmu_context.h [ARM] Add linux/compiler.h includes where required 2005-11-16 17:23:57 +00:00
mmu.h
mmzone.h
module.h
msgbuf.h
mtd-xip.h
namei.h
numnodes.h [ARM] Add asm/memory.h to asm/numnodes.h 2005-11-21 15:26:18 +00:00
nwflash.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
poll.h
posix_types.h
proc-fns.h
processor.h
procinfo.h
ptrace.h
resource.h
rtc.h
scatterlist.h [ARM] Remove '__address' from scatterlist and convert to DMA API 2006-01-04 15:08:30 +00:00
sections.h
segment.h
semaphore-helper.h
semaphore.h [ARM] sema_count() removal 2005-12-01 20:58:01 +00:00
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sizes.h
smp.h [ARM SMP] Add core ARM support for local timers 2005-11-08 19:08:05 +00:00
socket.h
sockios.h
spinlock_types.h
spinlock.h [ARM SMP] Use event instructions for spinlocks 2005-12-01 15:47:24 +00:00
stat.h
statfs.h
string.h
suspend.h
system.h [ARM] No need to include asm/proc-fns.h into asm/system.h 2005-11-16 18:36:49 +00:00
termbits.h
termios.h
therm.h
thread_info.h [ARM] Add linux/compiler.h includes where required 2005-11-16 17:23:57 +00:00
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h [ARM] Fix get_user when passed a const pointer 2005-11-18 14:22:03 +00:00
ucontext.h
unaligned.h
unistd.h
user.h
vfp.h
vfpmacros.h
vga.h
xor.h