Re: [PATCH] firewire: debug AT, AR, and selfID-complete events

From: Jarod Wilson
Date: Mon Mar 10 2008 - 00:48:07 EST


On Sunday 09 March 2008 04:49:34 pm Stefan Richter wrote:
> This adds debug printks for asynchronous transmission and reception and
> for self ID reception. The debug code is per default deactivated by #if
> blocks.
>
> Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
> ---
>
> I am undecided whether this is OK for mainline, and whether the debug
> options should become a Kconfig option or runtime options.
>
> It may be temporarily useful to the few driver developers. Do we want
> end users to provide us with debug logs of this kind? Then it should
> be one or two runtime options.


My vote would be to include this sort of thing with a run-time option to
enable the extra spew, since its a perfectly accepted standard for other
drivers. It ought to be extremely useful in determining whats going wrong
with end-user setups, particularly in cases where we can't reproduce the
problem (typically for lack of having the specific hardware in-house).


--
Jarod Wilson
jwilson@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/