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
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
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
Makefile ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
Makefile.boot
memory.c ARM: OMAP: omap2/memory.c compile fixes 2007-09-20 09:59:20 -07:00
memory.h
mux.c ARM: OMAP: Tabify mux.c 2007-09-20 09:59:20 -07:00
pm-domain.c
pm.c PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
prcm-regs.h
prcm.c
serial.c ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
sleep.S
sram-fn.S
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