[PATCH v2] net: pxa168_eth: add netconsole support

2018-02-01 Thread Alexander Monakov
This implements ndo_poll_controller callback which is necessary to enable netconsole. Signed-off-by: Alexander Monakov Cc: Russell King Cc: Sebastian Hesselbarth Cc: Florian Fainelli --- Here's the revised patch that performs interrupt disabling correctly as far as I can tell. It&#x

Re: [PATCH] net: pxa168_eth: add netconsole support

2018-01-31 Thread Alexander Monakov
> > +#ifdef CONFIG_NET_POLL_CONTROLLER > > +static void pxa168_eth_netpoll(struct net_device *dev) > > +{ > > + struct pxa168_eth_private *pep = netdev_priv(dev); > > + napi_schedule(&pep->napi); > > +} > > +#endif > > This definitely is not sufficient. > > Look at what other drivers do. Sor

[PATCH] net: pxa168_eth: add netconsole support

2018-01-27 Thread Alexander Monakov
This implements ndo_poll_controller callback which is necessary to enable netconsole. Signed-off-by: Alexander Monakov Cc: Russell King Cc: Sebastian Hesselbarth Cc: Florian Fainelli --- Hello, I'm using this to enable netconsole on a consumer device built around the Marvell Berlin BG2C