linux/arch/arm/mach-omap1
Russell King e7b3dc7ef1 [NET] smc91x: Make smc91x use IRQ resource trigger flags
smc91x is shared between many different platforms.  Each platform needs
to specify the interrupt type, and in some cases the irq type depends
on more than just the build configuration - it depends on runtime
checks.

Rather than throwing this code into the SMC_IRQ_FLAGS definition, provide
a way for these flags to be passed via the IRQ resource itself.

Note that IRQF_TRIGGER_* constants are intentionally defined to correspond
with the IORESOURCE_IRQ_* interrupt type flags, in much the same way that
the low bits of PCI iomem resources correspond with the BAR flag bits.

Also provide a way to configure smc91x to read the IRQ flags from the
resource.  Once all platforms have been converted over (signified
by all definitions of SMC_IRQ_FLAGS being -1) SMC_IRQ_FLAGS should
be removed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Nicolas Pitre <nico@cam.org>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
2008-01-28 13:13:19 +00:00
..
board-ams-delta.c ARM: OMAP: Sync board specific files with linux-omap 2007-09-20 18:34:50 -07:00
board-fsample.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-generic.c [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-h2.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-h3.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-innovator.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-nokia770.c ARM: OMAP1: Fix compile for board-nokia770 2008-01-18 16:53:17 -08:00
board-osk.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-palmte.c ARM: OMAP: Sync board specific files with linux-omap 2007-09-20 18:34:50 -07:00
board-palmtt.c ARM: OMAP: Sync board specific files with linux-omap 2007-09-20 18:34:50 -07:00
board-palmz71.c ARM: OMAP: PalmZ71 support 2007-09-20 18:34:50 -07:00
board-perseus2.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-sx1.c ARM: OMAP: Basic support for siemens sx1 2007-09-20 18:34:50 -07:00
board-voiceblue.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
clock.c ARM: OMAP: add SoSSI clock 2007-09-20 18:34:49 -07:00
clock.h ARM: OMAP: add SoSSI clock 2007-09-20 18:34:49 -07:00
devices.c ARM: OMAP: Sync core code with linux-omap 2007-05-08 20:36:31 +01:00
fpga.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
id.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io.c ARM: OMAP: FB sync with N800 tree (support for dynamic SRAM allocations) 2007-05-09 10:39:14 +01:00
irq.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
Kconfig ARM: OMAP: Basic support for siemens sx1 2007-09-20 18:34:50 -07:00
leds-h2p2-debug.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-innovator.c [ARM] omap1/leds-innovator.c: remove dead code 2007-10-12 23:43:20 +01:00
leds-osk.c ARM: OMAP: OSK led fixes 2007-08-22 00:42:51 -07:00
leds.c [ARM] 3141/1: OMAP 1/5: Update omap1 specific files 2005-11-10 14:26:48 +00:00
leds.h [PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory 2005-07-10 19:58:10 +01:00
mailbox.c ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile ARM: OMAP: Basic support for siemens sx1 2007-09-20 18:34:50 -07:00
Makefile.boot [PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2 2005-07-10 19:58:08 +01:00
mux.c ARM: OMAP: omap camera builds again; Mistral init and mux 2007-09-20 18:34:49 -07:00
pm.c driver core: make /sys/power a kobject 2008-01-24 20:40:25 -08:00
serial.c ARM: OMAP: OMAP310 Serial 2007-03-02 01:47:09 -08:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
time.c clockevents: fix resume logic 2007-07-21 17:49:15 -07:00