[kernel] revert 15922 - add back 2.6.29 kernel support
[openwrt.git] / target / linux / ixp4xx / patches-2.6.29 / 400-dmabounce.patch
1 --- a/arch/arm/common/dmabounce.c
2 +++ b/arch/arm/common/dmabounce.c
3 @@ -117,6 +117,10 @@ alloc_safe_buffer(struct dmabounce_devic
4 } else if (size <= device_info->large.size) {
5 pool = &device_info->large;
6 } else {
7 +#ifdef CONFIG_DMABOUNCE_DEBUG
8 + printk(KERN_INFO "A dma bounce buffer outside the pool size was requested. Requested size was 0x%08X\nThe calling code was :\n", size);
9 + dump_stack();
10 +#endif
11 pool = NULL;
12 }
13
14 --- a/arch/arm/mach-ixp4xx/Kconfig
15 +++ b/arch/arm/mach-ixp4xx/Kconfig
16 @@ -246,6 +246,11 @@ config MACH_MI424WR
17
18 comment "IXP4xx Options"
19
20 +config DMABOUNCE_DEBUG
21 + bool "Enable DMABounce debuging"
22 + default n
23 + depends on DMABOUNCE
24 +
25 config IXP4XX_INDIRECT_PCI
26 bool "Use indirect PCI memory access"
27 depends on PCI
This page took 0.051397 seconds and 5 git commands to generate.