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