• andi@cosy.sbg.ac.at's avatar
    [PATCH] sundance: attempt to address high irqs due to TX overflow · 59fb935e
    andi@cosy.sbg.ac.at authored
    In at least some versions of Kernel 2.6 (2.6.8.1, 2.6.11-rc2)
    the driver drivers/net/sundance.c creates high interrupt load
    (~ 100 interrupts per second) even in case of no network traffic
    at all.
    
    It seems that some sort of TX overflow handling is misplaced
    and triggers interrupts very often even in case of no data to
    send. The TX overflow handling has been moved to a more
    appropriate place.
    
    While there, an off by one error of reading the TX status has
    also been corrected by moving the read after the break.
    
    Thanks to Jeroen who tested the patch (also with high workload).
    Interrupts are down to normal and there are no obvious side
    effects.
    59fb935e
sundance.c 53 KB