add support for the GPIO expander used on the Cambria based on patches from Chris
[openwrt.git] / target / linux / ixp4xx / patches-2.6.27 / 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 @@ -251,6 +251,11 @@ config DMABOUNCE
17 default y
18 depends on PCI
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.041832 seconds and 5 git commands to generate.