1. 16 Dec, 2002 2 commits
    • David Brownell's avatar
      [PATCH] ehci-hcd (2/2): rest of tasklet remove · 24225eaa
      David Brownell authored
      This is the rest of the work to remove the tasklet: the non-syntax
      portions which affect work scheduling.  It's not quite davem's version;
      it's got locking updates, which among other things prevent a hang when
      the timer kicks in.
      
      This scheduling change is split out from the other parts in case more
      problems like that unlink race (fixed in my previous patch) show up.
      It doesn't fix (or help fix) any ehci bugs, but simpler code is fine.
      24225eaa
    • 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
  2. 15 Dec, 2002 38 commits