Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rapidio: add debug configuration option

Add debug configuration option for RapidIO subsystem.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Thomas Moll <thomas.moll@sysgo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alexandre Bounine and committed by
Linus Torvalds
011507e4 68b04cd3

+19
+11
drivers/rapidio/Kconfig
··· 21 21 than Maintenance transfers. 22 22 23 23 source "drivers/rapidio/switches/Kconfig" 24 + 25 + config RAPIDIO_DEBUG 26 + bool "RapidIO subsystem debug messages" 27 + depends on RAPIDIO 28 + help 29 + Say Y here if you want the RapidIO subsystem to produce a bunch of 30 + debug messages to the system log. Select this if you are having a 31 + problem with the RapidIO subsystem and want to see more of what is 32 + going on. 33 + 34 + If you are unsure about this, say N here.
+4
drivers/rapidio/Makefile
··· 4 4 obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o 5 5 6 6 obj-$(CONFIG_RAPIDIO) += switches/ 7 + 8 + ifeq ($(CONFIG_RAPIDIO_DEBUG),y) 9 + EXTRA_CFLAGS += -DDEBUG 10 + endif
+4
drivers/rapidio/switches/Makefile
··· 6 6 obj-$(CONFIG_RAPIDIO_CPS_XX) += idtcps.o 7 7 obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o 8 8 obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o 9 + 10 + ifeq ($(CONFIG_RAPIDIO_DEBUG),y) 11 + EXTRA_CFLAGS += -DDEBUG 12 + endif