Hi!
On 15:47 Thu 03 Sep , JiSheng Zhang wrote:
> ---------- Forwarded message ----------
> From: JiSheng Zhang <[email protected]>
> Date: 2009/9/3
> Subject: disable_irq in ndo_poll_controller
> To: [email protected]
>
>
> Hi list,
>
> I found that there are three disable irq method in nicard drivers
> ndo_poll_controller implementation :
> 1.disable_irq
disable interrupts, crash if they are already disabled
> 2.loacle_irq_save
disable interrupts, do not crash if they are already disabled
> 3.program nicard's register
My guess without knowing or having looked at the driver is that it might
tell the device to stop sending interrupts. Instead the device may be polled
if there is work to do. This reduces the load if the device would otherwise
send lots of interrupts.
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ