1. 14 Nov, 2002 4 commits
    • David Brownell's avatar
      [PATCH] cleanup usb hcd unlink code · 8959bd88
      David Brownell authored
      This fixes various minor problems:
      
      - re-orders some tests so that "(no bus?)" diagnostic should
          no longer be appearing (and making folk worry needlessly)
      
      - removes one unreachable test for URB_TIMEOUT_KILLED
      
      - removes the reachable test, since it's never an error on the
          part of the device driver to unlink something the HCD is already
          unlinking.
      
      - gets rid of some comments and code that expected automagic resubmits
          for interrupts (no more!),
      
      - resolves a FIXME for a rather unlikely situation (HCD can't
          perform the unlink, it reports an error)
      
      It also starts to use dev_dbg() macros, which give more concise
      (lately) and useful (they have both driver name and device id)
      diagnostics than the previous usb-only dbg() macros.  To do this,
      DEBUG had to be #defined before <linux/driver.h> is included, but
      it can't be #undeffed before <linux/kernel.h> is included.
      8959bd88
    • David Brownell's avatar
      [PATCH] usb_new_device() sets up dev->dev earlier · 859f1bb3
      David Brownell authored
      This mostly moves the initialization of some sysfs-related
      fields earlier, so HCD code can access them during those
      (initial error prone) parts of enumeration without oopsing.
      
      The particular access I wanted was using <linux/driver.h>
      debug utilities like dev_dbg(), dev_warn() and so on ... so
      I also changed the name the "generic" driver gives itself
      to be "usb" so those messages make more sense.
      
      Also added comments about how usb_new_device() moves the
      device through the other chapter 9 usb device states.
      859f1bb3
    • David Brownell's avatar
      [PATCH] usb sysfs shows bNumConfigurations · 84143fa3
      David Brownell authored
      This patch shows how many configurations a device has,
      which will be important for eventual user mode tools
      that manage configurations.
      84143fa3
    • Greg Kroah-Hartman's avatar
  2. 12 Nov, 2002 4 commits
  3. 11 Nov, 2002 32 commits