[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B439ED5.0@computer.org>
Date: Tue, 05 Jan 2010 21:19:33 +0100
From: Jan Ceuleers <jan.ceuleers@...puter.org>
To: Simon Kagstrom <simon.kagstrom@...insight.net>
CC: netdev@...r.kernel.org, David Miller <davem@...emloft.net>,
Stéphane Berthelot <sberthelot@...sfr.com>
Subject: Re: [PATCH] via-velocity: add netpoll functionality for the benefit
of netconsole
Simon Kagstrom wrote:
> Does the patch still work with the new NAPI support in the driver?
Errr. (Is my ignorance showing yet?)
I will have to study this, based on other drivers and your commit dfff71.
I would be grateful for any hints, but otherwise will endeavour to figure it out myself.
>> +static void velocity_poll_controller(struct net_device *dev)
>> +{
>> + disable_irq(dev->irq);
>> + velocity_intr(dev->irq, dev);
>> + enable_irq(dev->irq);
>> +}
>
> This should probably have an
>
> #ifdef CONFIG_NET_POLL_CONTROLLER
> ...
> #endif
>
> around it
You are right, will add.
Thanks, Jan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists