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

2016-11-14 Thread Maxime Ripard
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 switc

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

2016-11-14 Thread Michael Weiser
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