Thread (7 messages) 7 messages, 3 authors, 2016-11-16

Re: [PATCH 2/3] net: ethernet: sun4i-emac: Allow to enable netif messages

From: Maxime Ripard <hidden>
Date: 2016-11-14 19:00:15

On Mon, Nov 14, 2016 at 06:58:06PM +0100, Michael Weiser wrote:
sun4i-emac has the ability to print a number of diagnostic messages using
dev_dbg depending on message level settings implemented using netif_msg_*
macros. But there's no way to actually enable them.

Add the ability to switch diagnostic messages on using either a module
parameter debug or ethtool -s <netif> msglvl <flags>.

Signed-off-by: Michael Weiser <redacted>
Cc: Maxime Ripard <redacted>
Cc: netdev@vger.kernel.org
Acked-by: Maxime Ripard <redacted>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help