1. 09 Apr, 2002 3 commits
    • David Brownell's avatar
      [PATCH] USB physical paths id · 3668d7cd
      David Brownell authored
      This provides something that gets discussed regularly: stable
      device IDs.  Straightforward; most of it was already present:
      
          - Moves "bus_name" out of HCD framework into usb_bus.
            This accounts for _by far the bulk_ of this patch, since
            every use of that original field needed to change.
      
          - Make Vojtech's usb_make_path() use bus_name instead
            of unstable bus numbers ... and usb_device->devpath
            instead of recomputing that same info.  Combine two
            stable IDs, and the result is still stable.  And since both
            are precomputed, usb_make_path() turns into only an
            error check wrapped around snprintf() ... so I inlined it.
      
          - Minor tweak to usb_device->devpath construction.  It
            still uses "/" for the root hub (better suggestions?) but
            Vojtech wanted "." for separators, so I changed that.
      
          - The older HCDs (uhci.c etc) initialize usb_bus.bus_name,
            as well as the sharable HCD framework
      
          - HCD framework no longer uses "bus" member.
      
      These IDs are currently exposed in "input" hotplugging, and
      my next patch addresses that for USB network devices.
      3668d7cd
    • Greg Kroah-Hartman's avatar
      c060c5c9
    • Greg Kroah-Hartman's avatar
      USB - removed the dc2xx driver · a0fe3373
      Greg Kroah-Hartman authored
      a0fe3373
  2. 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
  3. 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
  4. 05 Apr, 2002 24 commits