Skip to contentSkip to conversation

sata_dwc_460ex: add debugging options

PATCH In review Sergei Shtylyov 1 participant 1 message Jan 28, 2011 libata

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 sata_dwc_460ex: add debugging options

The driver makes use of the two options (CONFIG_SATA_DWC_[V]DEBUG) to enable the debug output but they both are absent in drivers/ata/Kconfig...

---
The patch is against the recent Linus' tree.

 drivers/ata/Kconfig |   12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/ata/Kconfig +12 -0
Index: linux-2.6/drivers/ata/Kconfig
===================================================================
@@ -202,6 +202,18 @@ config SATA_DWC
 
 	  If unsure, say N.
 
+config SATA_DWC_DEBUG
+	bool "Debugging driver version"
+	depends on SATA_DWC
+	help
+	  This option enables debugging output in the driver.
+
+config SATA_DWC_VDEBUG
+	bool "Verbose debug output"
+	depends on SATA_DWC_DEBUG
+	help
+	  This option enables the taskfile dumping and NCQ debugging.
+
 config SATA_MV
 	tristate "Marvell SATA support"
 	help