1. 08 Apr, 2002 11 commits
    • Greg Kroah-Hartman's avatar
      USB · ca433637
      Greg Kroah-Hartman authored
      cleaned up the comments to put them in proper docbook format.
      ca433637
    • David Brownell's avatar
      This patch is a more complete fix for the device refcount · 99e471c7
      David Brownell authored
      sanity checking and cleanup on device disconnect.
        
          - Splits apart usb_dec_dev_use(), for driver use, and
            usb_free_dev(), for hub/hcd use.  Both now have
            kerneldoc, and will BUG() if the refcount and the
            device tree get out of sync.  (Except for cleanup of
            root hub init errors, refcount must go to zero only
            at the instant disconnect processing completes.)
        
          - More usbcore-internal function declarations are
            now moved out of <linux/usb.h> into hcd.h
        
          - Driver-accessible refcounting is now inlined; minor
            code shrinkage, it's using atomic inc/dec instructions
            not function calls.
      
      <note from greg k-h, there is still some work to be done with USB device
       reference counting, but this patch is a step in the right direction.>
      99e471c7
    • David Brownell's avatar
      USB kerneldoc fixes · 3066fa91
      David Brownell authored
      This fixes some kerneldoc bugs for USB.  It catches up with
      the recent rename, and includes a couple minor tweaks/fixes
      I happened to notice.
      3066fa91
    • Greg Kroah-Hartman's avatar
      USB bluetooth tty driver · f74682cf
      Greg Kroah-Hartman authored
      renamed the bluetooth.c file to bluettty.c to help prevent user confusion
      between this driver and the bluez bluetooth stack in the kernel.
      f74682cf
    • Dan Streetman's avatar
      [PATCH] usbfs disconnect · b46bff09
      Dan Streetman authored
      This was originally created by David many months ago and posted to the
      list, but not put into the kernel.
      
      I modified the original patch to:
      -patch against the 2.5.7 kernel
      -use the 'real' interface number, not position (to do this I added 2
       methods in usb.c)
      b46bff09
    • Chris Hanson's avatar
      [PATCH] page limit on bulk transfers in usbfs? · a64c6e4b
      Chris Hanson authored
      Here is an updated patch using kmalloc that removes the page limit
      on bulk transfers in usbfs.  I've tested it and it seems to work OK.
      a64c6e4b
    • Greg Kroah-Hartman's avatar
      changed direct access of current->state to set_current_state() call. · 06165e7d
      Greg Kroah-Hartman authored
      Thanks to Paul Komkoff for reminding me of this.
      06165e7d
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c FSBR speed problem · 13eac223
      Johannes Erdfelt authored
      The dangers of not ensuring important fields are properly set.
      
      Some, if not all, of the speed problems with uhci.c were caused because
      some important fields were not set and as a result, FSBR was never
      turned on.
      
      This patch also ensures is_suspended is set to 0 properly. This could
      cause some problems suspending the HC when no devices are plugged in.
      13eac223
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c incorrect locking · dd5c53b9
      Johannes Erdfelt authored
      This fixes a problem that I've not run into and is difficult to trigger,
      but definately a bug. We locked urb->lock, when we meant u->lock. It also
      cleans up the code a little to make it easier to understand and removes
      an obsolete comment.
      dd5c53b9
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c cleanup · cf81f1c2
      Johannes Erdfelt authored
      This patch merely cleans up the code a little and doesn't fix any bugs.
      It makes a couple of code paths a bit easier to understand, removes an
      unused variable (uhci_list) and some procfs variables when not using
      procfs.
      cf81f1c2
    • Johannes Erdfelt's avatar
      [PATCH] uhci.c SMP deadlock · 89e62afe
      Johannes Erdfelt authored
      This patch fixes a bug reported by Greg and David, as well as some other
      people recently.
      
      uhci.c would call wait_ms, which can sleep, with spinlocks held. There
      are two places where this happens, but only one was the cause of the
      problem.
      89e62afe
  2. 06 Apr, 2002 2 commits
    • Greg Kroah-Hartman's avatar
      USB · 806af7cc
      Greg Kroah-Hartman authored
      spilt up the Config.help file into smaller pieces
      806af7cc
    • David Brownell's avatar
      USB usbnet driver update · 781045a2
      David Brownell authored
          - adds ethtool support (based on code from Brad Hards)
          - makes diagnostic level configurable (ethtool, module param)
          - fixes a minor mem_flags goof (thanks Oliver!)
          - device identifers now use devpath (stable ID) not devnum
      781045a2
  3. 05 Apr, 2002 27 commits