android_kernel_xiaomi_sm7250/arch/arm/mach-pxa
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
..
akita-ioexp.c WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
clock.c [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
clock.h [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
cm-x270-pci.c [ARM] 4667/1: CM-X270 fixes 2007-12-08 14:35:43 +00:00
cm-x270-pci.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
cm-x270.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
corgi_lcd.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c [ARM] pxa: move SSP register definitions from pxa-regs.h to regs-ssp.h 2008-01-26 15:07:51 +00:00
corgi.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
cpu-pxa.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
devices.c [ARM] pxa: move pxa27x_device_ohci out of pxa27x.c for use with pxa3xx 2008-01-26 15:07:54 +00:00
devices.h [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +00:00
dma.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
em-x270.c [ARM] 4475/2: EM-x270 board support 2007-07-20 17:45:15 +01:00
eseries.c [ARM] 4649/1: Base support for pxa-based Toshiba e-series PDAs. 2008-01-28 13:13:13 +00:00
generic.c [ARM] pxa: increase size of memory mapping 2008-01-26 15:07:54 +00:00
generic.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
idp.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
irq.c [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
Kconfig [ARM] pxa: add basic support for Littleton (PXA3xx Form Factor Platform) 2008-01-28 13:13:17 +00:00
leds-idp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-lubbock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-mainstone.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-trizeps4.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
leds.c [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
littleton.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
lpd270.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
lubbock.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
magician.c [ARM] 4664/1: Add basic support for HTC Magician PDA phones 2008-01-28 13:13:16 +00:00
mainstone.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
Makefile [ARM] pxa: add basic support for Littleton (PXA3xx Form Factor Platform) 2008-01-28 13:13:17 +00:00
Makefile.boot
mfp.c [ARM] pxa: program MFPs for low power mode when suspending 2008-01-26 15:07:56 +00:00
pm.c [ARM] pxa: skip registers saving/restoring if entering standby mode 2008-01-26 15:07:57 +00:00
poodle.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
pxa3xx.c [ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme 2008-01-26 15:07:56 +00:00
pxa25x.c [ARM] pxa: Avoid fiddling with CKEN register on suspend 2008-01-26 15:07:57 +00:00
pxa27x.c [ARM] pxa: Avoid fiddling with CKEN register on suspend 2008-01-26 15:07:57 +00:00
pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pxa320.c [ARM] 4675/1: pxa: fix mfp address definition error for pxa320 2007-11-29 20:52:54 +00:00
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sharpsl.h [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sleep.S [ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate 2008-01-26 15:07:56 +00:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
spitz.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
ssp.c [ARM] pxa: ensure SSP TX FIFO is empty instead of not full for pxa3xx 2008-01-26 15:07:53 +00:00
standby.S [ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme 2008-01-26 15:07:56 +00:00
time.c [ARM] pxa: fix PXA27x resume 2008-01-26 15:07:57 +00:00
tosa.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
trizeps4.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
zylonite_pxa300.c [ARM] pxa: Add zylonite MFP wakeup configurations 2008-01-26 15:07:56 +00:00
zylonite_pxa320.c [ARM] pxa: Add zylonite MFP wakeup configurations 2008-01-26 15:07:56 +00:00
zylonite.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00