Skip to contentSkip to conversation

nes: kernel build infrastructure

PATCH In review [email protected] 2 participants 2 messages Oct 19, 2007 – Oct 22, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 13/14 nes: kernel build infrastructure

Kconfig kernel build file.

---

drivers/infiniband/hw/nes/Kconfig renamed from NULL +15 -0
@@ -0,0 +1,15 @@
+config INFINIBAND_NES
+	tristate "NetEffect RNIC Driver"
+	depends on PCI && INET && INFINIBAND
+	---help---
+	  This is a low-level driver for NetEffect RDMA enabled
+	  Network Interface Cards (RNIC).
+
+config INFINIBAND_NES_DEBUG
+	bool "Verbose debugging output"
+	depends on INFINIBAND_NES
+	default n
+	---help---
+	  This option causes the NetEffect RNIC driver to produce debug
+	  messages.  Select this if you are developing the driver
+	  or trying to diagnose a problem.
#1 lore raw

drivers/infiniband/hw/nes/Kconfig line 15

Quoted 8 lines
drivers/infiniband/hw/nes/Kconfig renamed from NULL +8 -0
+config INFINIBAND_NES_DEBUG
+	bool "Verbose debugging output"
+	depends on INFINIBAND_NES
+	default n
+	---help---
+	  This option causes the NetEffect RNIC driver to produce debug
+	  messages.  Select this if you are developing the driver
+	  or trying to diagnose a problem.

If you make this default n then no distro will have it enabled and you'll have to rebuild to debug anything. Better to have the default be enabled and make it controllable at runtime too with a module parameter. (you can look at what mthca does for an example of what I mean)