linux/arch/arm/mach-omap2
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-2430sdp.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-apollon.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
board-generic.c fix file specification in comments 2006-10-03 23:01:26 +02:00
board-h4.c ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
clock.c [ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c 2007-10-31 15:21:43 +00:00
clock.h [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
devices.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
gpmc.c ARM: OMAP: Merge gpmc changes from N800 tree 2007-09-20 09:59:26 -07:00
id.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
io.c ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
irq.c ARM: OMAP: Optimize INTC register accesses and enable autoidling 2007-09-20 09:59:19 -07:00
Kconfig ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
mailbox.c ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
Makefile.boot [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
memory.c ARM: OMAP: omap2/memory.c compile fixes 2007-09-20 09:59:20 -07:00
memory.h [ARM] 3426/1: ARM: OMAP: 1/8 Update clock framework 2006-04-02 17:46:20 +01:00
mux.c ARM: OMAP: Tabify mux.c 2007-09-20 09:59:20 -07:00
pm-domain.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
prcm-regs.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.c ARM: OMAP: Avoid sleeping during arch_reset 2006-09-25 12:41:20 +03:00
serial.c ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
sleep.S 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
timer-gp.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
usb-tusb6010.c ARM: OMAP: TUSB EVM init 2007-09-20 09:59:21 -07:00