linux/arch/arm/plat-omap
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
..
clock.c ARM: OMAP: add SoSSI clock (call propagate_rate for childrens) 2007-05-09 10:39:29 +01:00
common.c ARM: OMAP: Fix 32k timer unsupported one-shot mode 2007-08-22 00:42:50 -07:00
cpu-omap.c [CPUFREQ] move policy's governor initialisation out of low-level drivers into cpufreq core 2007-10-04 18:40:57 -04:00
debug-devices.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
debug-leds.c ARM: OMAP: partial LED fixes 2007-05-09 10:39:42 +01:00
devices.c ARM: OMAP: Mostly cosmetic to sync up with linux-omap tree 2007-05-09 10:38:46 +01:00
dma.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
dmtimer.c ARM: OMAP: fix OMAP1 dmtimer build warning 2007-08-22 00:42:50 -07:00
fb.c [ARM] 4633/1: omap build fix when FB enabled 2007-11-05 19:53:12 +00:00
gpio.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
Kconfig ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
mailbox.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
mailbox.h ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
mcbsp.c ARM: OMAP: plat-omap changes for 2430 SDP 2007-05-05 10:56:45 +01:00
mux.c ARM: OMAP: 24xx pinmux updates 2007-05-10 15:51:09 -07:00
ocpi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram-fn.S fix file specification in comments 2006-10-03 23:01:26 +02:00
sram.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
timer32k.c ARM: OMAP: Fix 32k timer unsupported one-shot mode 2007-08-22 00:42:50 -07:00
usb.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00