Re: [PATCH 2/3] net: ethernet: sun4i-emac: Allow to enable netif messages
From: Maxime Ripard <hidden>
Date: 2016-11-14 19:00:15
Attachments
- signature.asc [application/pgp-signature] 801 bytes
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