kernel-hacking-2024-linux-s.../arch/arm
Eric Miao f53f066c25 [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code
Since the number of dma channels varies between pxa25x and pxa27x, it
introduces some specific code in dma.c. This patch moves the specific
code to pxa25x.c and pxa27x.c and makes dma.c more generic.

1. add pxa_init_dma() for dma initialization, the number of channels
   are passed in by the argument

2. add a "prio" field to the "struct pxa_dma_channel" for the channel
   priority, and is initialized in pxa_init_dma()

3. use a general priority comparison with the channels "prio" field so
   to remove the processor specific pxa_for_each_dma_prio macro,  this
   is not lightning fast as the original one,  but it is acceptable as
   it happens when requesting dma, which is usually not so performance
   critical

Signed-off-by: eric miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-07-12 14:28:16 +01:00
..
boot [ARM] 4449/1: more entries in arch/arm/boot/.gitignore 2007-06-25 20:37:35 +01:00
common [ARM] pxa: Fix PXA27x suspend type validation, remove pxa_pm_prepare() 2007-07-12 14:28:06 +01:00
configs [ARM] 4333/2: KS8695: Micrel Development board 2007-05-11 22:02:55 +01:00
kernel [ARM] always allow dump_stack() to produce a backtrace 2007-07-05 19:59:51 +01:00
lib [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-aaec2000 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-at91 PM: introduce set_target method in pm_ops 2007-07-01 12:29:44 -07:00
mach-clps711x Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-clps7500 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-davinci [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mach-ebsa110 [ARM] EBSA110: fix build errors caused by missing "const" 2007-05-11 17:20:02 +01:00
mach-ep93xx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-footbridge [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
mach-h720x [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-imx [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
mach-integrator [ARM] integrator: fix pci_v3 compile error with DEBUG_LL 2007-05-17 10:16:55 +01:00
mach-iop13xx Merge master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-21 10:00:22 -07:00
mach-iop32x [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files 2007-05-16 15:35:27 +01:00
mach-iop33x [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files 2007-05-16 15:35:27 +01:00
mach-ixp4xx [ARM] 4410/1: Remove extern declarations in coyote/ixdpg425-pci.c 2007-05-30 13:15:39 +01:00
mach-ixp23xx [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
mach-ixp2000 [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
mach-ks8695 [ARM] 4333/2: KS8695: Micrel Development board 2007-05-11 22:02:55 +01:00
mach-l7200
mach-lh7a40x [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-netx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-ns9xxx [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-omap1 [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-omap2 [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-pnx4008 [ARM] Spinlock initializer cleanup 2007-05-11 17:38:04 +01:00
mach-pxa [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
mach-realview [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
mach-rpc
mach-s3c2400
mach-s3c2410 [ARM] 4415/1: AML5900: fix sparse warnings from map_io 2007-05-30 13:15:30 +01:00
mach-s3c2412 [ARM] 4412/1: S3C2412: reset errata fix 2007-05-30 13:15:23 +01:00
mach-s3c2440 [ARM] 4445/1: ANUBIS: Fix CPLD registers 2007-06-11 09:09:34 +01:00
mach-s3c2442
mach-s3c2443 [ARM] 4414/1: S3C2443: sparse fix for clock.c 2007-05-30 13:15:26 +01:00
mach-sa1100 [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
mach-shark Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-versatile [ARM] 4454/1: Use word accesses in Versatile PCI config reads 2007-07-02 13:39:35 +01:00
mm [ARM] Fix non-page aligned boot time mappings 2007-07-04 21:16:33 +01:00
nwfpe [ARM] 4416/1: NWFPE: fix undeclared symbols 2007-05-30 13:15:34 +01:00
oprofile [ARM] Solve buggy smp_processor_id() usage 2007-06-02 21:31:49 +01:00
plat-iop Merge master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-21 10:00:22 -07:00
plat-omap [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
plat-s3c24xx [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
tools [ARM] Update mach-types 2007-05-11 19:54:39 +01:00
vfp [ARM] VFP: fix section mismatch error 2007-06-10 12:22:20 +01:00
Kconfig [ARM] 4376/1: Selects GENERIC_GPIO for ARCH_IXP4XX in Kconfig 2007-05-16 15:35:25 +01:00
Kconfig-nommu
Kconfig.debug
Makefile [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor 2007-05-11 22:02:48 +01:00