I/O operations
From: Robert Olsson <hidden>
Date: 2002-11-21 12:40:34
From: Robert Olsson <hidden>
Date: 2002-11-21 12:40:34
While hacking with e1000... For e1000 reading the interrupt control (ICR) register also acks it. I guess the idea is to save I/O operations which are very slow in comparison to CPU speed. So reading and acking is done atomically in just one operation. And it should be possible to extend this to even disable interrupts (if ICR nonzero) in the same operation? At least for NAPI "type" drivers this seems useful... 1) H/W generates interrupt which "indicates" work. 2) Driver Reads/Acks/Disables-IRQ in one I/O operation and schedules work for softirq. Any chips capable of this already? Cheers. --ro