diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-02-09 22:34:54 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-03-01 22:13:20 -0700 |
commit | 6c664a8915f5341c2e7f1df0bb4b9b4a88f6ad77 (patch) | |
tree | 031bab9e62b2948ef3fc8a0a3223e8074bc201bb /drivers/dma/Kconfig | |
parent | f1acb878b6070941e844dfc4ca1b3b9e5a70426c (diff) | |
download | kernel_samsung_espresso10-6c664a8915f5341c2e7f1df0bb4b9b4a88f6ad77.zip kernel_samsung_espresso10-6c664a8915f5341c2e7f1df0bb4b9b4a88f6ad77.tar.gz kernel_samsung_espresso10-6c664a8915f5341c2e7f1df0bb4b9b4a88f6ad77.tar.bz2 |
Debugging options for the DMA engine subsystem
This adds Kconfig options for DEBUG and VERBOSE_DEBUG to the DMA
engine subsystem, I got tired of editing the Makefile manually
each time I want to debug things in here, modelled this on the
debug switches for other subsystems and works like a charm when
working on our DMA engines.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r-- | drivers/dma/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index e02d74b..1f4bbd6 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -13,6 +13,22 @@ menuconfig DMADEVICES DMA Device drivers supported by the configured arch, it may be empty in some cases. +config DMADEVICES_DEBUG + bool "DMA Engine debugging" + depends on DMADEVICES != n + help + This is an option for use by developers; most people should + say N here. This enables DMA engine core and driver debugging. + +config DMADEVICES_VDEBUG + bool "DMA Engine verbose debugging" + depends on DMADEVICES_DEBUG != n + help + This is an option for use by developers; most people should + say N here. This enables deeper (more verbose) debugging of + the DMA engine core and drivers. + + if DMADEVICES comment "DMA Devices" |