Re: [PATCH v2 12/13] QLogic VNIC: Driver Kconfig and Makefile.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ramachandra K <ramachandra.kuchimanchi@...>
Cc: <general@...>, <netdev@...>, <amar.mudrankit@...>, <poornima.kamath@...>
Date: Sunday, May 25, 2008 - 6:43 pm

> +config INFINIBAND_QLGC_VNIC_DEBUG
 > +	bool "QLogic VNIC Verbose debugging"
 > +	depends on INFINIBAND_QLGC_VNIC
 > +	default n
 > +	---help---
 > +	  This option causes verbose debugging code to be compiled
 > +	  into the QLogic VNIC driver.  The output can be turned on via the
 > +	  vnic_debug module parameter.

I think I mentioned this before, but... if you default this option to
'n', then all distributions will build your module with the option off.
And if someone is having problems, they will be forced to rebuild their
kernel to get debug output, which is a heavy burden for most users.

Much better to do something like what I ended up doing for mthca, which
is to have the option on unless someone specifically enables
CONFIG_EMBEDDED and goes out of their way to disable it:

	config INFINIBAND_MTHCA_DEBUG
		bool "Verbose debugging output" if EMBEDDED
		depends on INFINIBAND_MTHCA
		default y
		---help---
		  This option causes debugging code to be compiled into the
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 00/13] QLogic VNIC Driver , Ramachandra K, (Mon May 19, 6:31 am)
Re: [PATCH v2 12/13] QLogic VNIC: Driver Kconfig and Makefile., Roland Dreier, (Sun May 25, 6:43 pm)
[PATCH v2 06/13] QLogic VNIC: IB core stack interaction, Ramachandra K, (Mon May 19, 6:34 am)