Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185760
b: refs/heads/master
c: 6c664a8
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij authored and Dan Williams committed Mar 2, 2010
1 parent c6761b3 commit 382fd42
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1acb878b6070941e844dfc4ca1b3b9e5a70426c
refs/heads/master: 6c664a8915f5341c2e7f1df0bb4b9b4a88f6ad77
16 changes: 16 additions & 0 deletions trunk/drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions trunk/drivers/dma/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
ifeq ($(CONFIG_DMADEVICES_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
ifeq ($(CONFIG_DMADEVICES_VDEBUG),y)
EXTRA_CFLAGS += -DVERBOSE_DEBUG
endif

obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
obj-$(CONFIG_NET_DMA) += iovlock.o
obj-$(CONFIG_DMATEST) += dmatest.o
Expand Down

0 comments on commit 382fd42

Please sign in to comment.