• David Brownell's avatar
    [PATCH] ohci-hcd cardbus unplug, remove interrupt length limit, · 97cf4c34
    David Brownell authored
    * handle another cardbus unplug misbehavior
         - root hub kept polling, never stopped
         - starts to update hcd->state to match internal state
    * code to count/queue TDs for interrupt/bulk is now shared
         - removes (low level) interrupt transfer size limitation
         - both types already handled urb queueing
         - re-indents some TD queuing code (most of patch, by volume)
    * cleanup
         - use new container_of() macro, not list_entry()
         - report a previously unreported error (control data >4K)
         - simplify intr/bulk toggle reset
         - tweak TD debug dump
         - more object code shrinkage (often fits in 3 pages)
    
    Note that the control data size error is just a long-standing
    limitation of this driver, not a USB limitation!  It could be
    fixed, if anyone starts to run into it.
    97cf4c34
ohci.h 12.9 KB