These patches to the pcnet32 driver implement NAPI and respond to some other suggestions found during NAPI development and testing.
The NAPI code change was broken into two pieces, one is code-reorganization, and the second is the NAPI implementation. Tested with and without NAPI ia32 and ppc64 with '970A, '971, '972, and '976. The comments from Francois Romieu regarding using spin_lock instead of spin_lock_irqsave were investigated, but since interrupts have to be disabled to prevent the interrupt handler from deadlocking, and since I would probably forget sometime, it is safer to leave the locking as it is. The requested mmiowb calls were added. Please appply to 2.6.19. 1/3 Code reorganization to facilitate NAPI. 2/3 NAPI implementation. 3/3 Magic number cleanup. -- Don Fry [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html