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;
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);
14 --- a/arch/arm/mach-ixp4xx/Kconfig
15 +++ b/arch/arm/mach-ixp4xx/Kconfig
16 @@ -246,6 +246,11 @@ config MACH_MI424WR
18 comment "IXP4xx Options"
20 +config DMABOUNCE_DEBUG
21 + bool "Enable DMABounce debuging"
23 + depends on DMABOUNCE
25 config IXP4XX_INDIRECT_PCI
26 bool "Use indirect PCI memory access"