• David Brownell's avatar
    [PATCH] ehci-hcd (1/2): portability (2.4), tasklet, · 97c17beb
    David Brownell authored
    This should be innocuous; I expect most folk won't notice anything
    better (or worse) from this patch unless they're using Intel EHCI.
    
    removing tasklet
         - parts of davem's patch (passing pt_regs down)
         - remove 'max_completions'
         - update cleanup after hc died
         - fix an urb unlink oops (null ptr) that happens more often this way
    
    talking to hardware
         - fixes for some short read issues (may still be others)
    	* use qtd->hw_alt_next to stop qh processing after short reads
    	* detect/report short reads differently
         - longer reset timeout (it was excessively short, broke Intel)
    
    other
         - simpler diagnostics portability to 2.4:  wrap dev_err() etc
         - urb unlink wait and non-wait unlink codepaths share most code
         - don't try ehci_stop() in interrupt context (bug from hcd layer)
         - minor stuff, including
    	* some "after hc died" paths were wrong
    	* verbose debug messages compile again
    	* don't break error irq count
    97c17beb
ehci-mem.c 6.4 KB