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
> > +#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
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