1. 17 Dec, 2002 6 commits
    • David Brownell's avatar
      [PATCH] hub driver uses dev_info(), less log clutter · 52dc29e6
      David Brownell authored
      This patch converts most common hub diagnostics to use the
      device model diagnostic macros ... not all, someone should
      reduce the number of err() strings for "bogus hub" cases,
      and ideally streamline some of the dozen or so "here's what's
      special about this new hub" dbg() messages.
      
      So the messages become more useful:  they id the port (and
      implicitly the device) involved, using a kernel-wide standard
      convention.  Size overhead is smaller too.
      
      For folk running with USB debugging enabled, it also cuts
      the useless chatter on connections by deleting the per-poll
      success messages and a partial dup message when things change.
      And it deletes a newish diagnostic on a (non-hub) unlink path.
      
      It also makes Pete's new debounce message use the right
      port number -- one-based, not zero-based.
      
      My main issue with this patch is that it doesn't change
      more messages, but it seems reasonable to merge it anyway.
      52dc29e6
    • Oliver Neukum's avatar
      [PATCH] USB: proper error return for usblcd · a6c06f6f
      Oliver Neukum authored
      unknown ioctls return -ENOTTY and nothing else.
      a6c06f6f
    • Oliver Neukum's avatar
      [PATCH] USB: fix an unlinking race in speedtouch driver · da44e962
      Oliver Neukum authored
      checking for -EINPROGRESS is wrong.
      da44e962
    • Oliver Neukum's avatar
      5e03c83e
    • Oliver Neukum's avatar
      [PATCH] USB: clean kernel thread exit for speedtouch · c5af7579
      Oliver Neukum authored
      this makes sure that the kernel thread is dead and gone on module unload.
        - use a completion to wait for the kernel thread's death
      c5af7579
    • Alan Stern's avatar
      [PATCH] USB: usb-storage bugfix · 0d1e2e6a
      Alan Stern authored
      Don't try to dereference the interrupt endpoint if it doesn't exist.
      0d1e2e6a
  2. 16 Dec, 2002 9 commits
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: usbserial: Add a short_name field to work better with sysfs. · e5ccffb2
      Greg Kroah-Hartman authored
      This cleans up the bus/usb-serial/drivers/ directory
      e5ccffb2
    • Oliver Neukum's avatar
    • Matthew Dharm's avatar
      [PATCH] usb-storage: fixup interpret_urb_result() · 02a82778
      Matthew Dharm authored
      This patch fixes interpret_urb_result in two major ways:
      (1) Uses a switch() instead of nested if() statements
      (2) Handle -EREMOTEIO to indicate a short scatter-gather transfer
      02a82778
    • Nemosoft Unv.'s avatar
      [PATCH] USB: PWC 8.10 for 2.5.51 · a256185c
      Nemosoft Unv. authored
      Well, two patches in one... These patches will bring the PWC (Philips
      Webcam) driver in both 2.4.20 and 2.5.51 up to version 8.10. Functionally,
      the two branches are the same (about 70% of the code is shared), but the
      differences in kernel architecture are too large to handle with a few
      #ifdefs.
      
      This patch fixes the following (this are only the differences between 8.9
      and 8.10):
      
      * Fixed ID for QuickCam Notebook pro
      * Added GREALSIZE ioctl() call
      * Fixed bug in case PWCX was not loaded and invalid size was set
      a256185c
    • Simon Evans's avatar
      [PATCH] 2.5.51 More typedef removal from usbvideo · f28bef0c
      Simon Evans authored
      This patch against 2.5.51 removes the remaining typedefs from usbvideo
      
      typedef enum { .. } ScanState_t -> enum ScanState
      typedef enum { .. } ParseState_t -> enum ParseState
      typedef enum { .. } FrameState_t -> enum FrameState
      typedef enum { .. } Deinterlace_t -> enum Deinterlace
      typedef struct { .. } usbvideo_t -> struct usbvideo
      f28bef0c
    • David Brownell's avatar
      [PATCH] ehci misc patches · 5c33addf
      David Brownell authored
      small fixes flushed by the hunt for bigger game:
      
      - terminate td lists with dummy, not list end marker
      - use alt_next only for real short control reads
      - un-halt async qhs before scheduling
      - deletes unused debug code, pointless assignments
      - surely nobody ever sees that memleak
      - terminate two related "while" loops the same way
      5c33addf
    • David Brownell's avatar
      [PATCH] usbnet: zaurus, oops, etc · bdd00dbd
      David Brownell authored
      This patch:
      
      - Removes Pavel's Zaurus-private crc32 code; the base patch
         was from Pavel.
      
      - Addresses two issues Toby Milne reported against the Zaurus:
         (a) if skbs had extra framing added (z, net1080, gl620a),
             the original size (now too small) was used on tx;
         (b) added FLAG_FRAMING_Z so rx packets had enough space
      
      - Removes an oops from the driver model conversion (saved
         the wrong pointer).  Disconnecting wasn't healthy.
      
      - Forward-ports some ethtool support from the 2.4 version:
         PDAs are always connected, so report them that way.
      
      - Stubs in some PXA-250 support for non-Zaurus PDAs.
         This is currently commented out; so far those PDAs
         only run Linux for bleeding edge developers.
      
      - Minor cleanups.
      bdd00dbd
    • 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
  3. 15 Dec, 2002 25 commits