1. 15 4月, 2006 1 次提交
    • D
      [PATCH] USB: usbtest: scatterlist OUT data pattern testing · 8b524901
      David Brownell 提交于
      Previously, scatterlist tests didn't write patterned data.  Given how many
      corner cases are addresed by them, this was a significant gap in Linux-USB
      test coverage.  Moreover, when peripherals checked for correct data patterns,
      false error reports would drown out the true ones.
      
      This adds the pattern on the way OUT from the host, so scatterlist tests can
      now be used to uncover bugs like host TX or peripheral RX paths failing for
      back-to-back short packets.  It's easy enough to get an error there with at
      least one of the {DMA,PIO}{RX,TX} code paths, or run into hardware races
      that need to be defended against.
      
      Note this patch doesn't add checking for correct data patterns on the way
      IN from peripherals, just a FIXME for later.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8b524901
  2. 21 3月, 2006 1 次提交
  3. 05 1月, 2006 1 次提交
  4. 18 11月, 2005 1 次提交
  5. 30 10月, 2005 1 次提交
  6. 29 10月, 2005 2 次提交
    • A
      [PATCH] Missing transfer_flags setting in usbtest · 3e8a556a
      Alan Stern 提交于
      This patch (as582) adds a missing transfer_flags setting to the usbtest
      driver.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3e8a556a
    • D
      [PATCH] usb_interface power state · db690874
      David Brownell 提交于
      This updates the handling of power state for USB interfaces.
      
        - Formalizes an existing invariant:  interface "power state" is a boolean:
          ON when I/O is allowed, and FREEZE otherwise.  It does so by defining
          some inlined helpers, then using them.
      
        - Adds a useful invariant:  the only interfaces marked active are those
          bound to non-suspended drivers.  Later patches build on this invariant.
      
        - Simplifies the interface driver API (and removes some error paths) by
          removing the requirement that they record power state changes during
          suspend and resume callbacks.  Now usbcore does that.
      
      A few drivers were simplified to address that last change.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/usb/core/hub.c       |   33 +++++++++------------
       drivers/usb/core/message.c   |    1
       drivers/usb/core/usb.c       |   65 +++++++++++++++++++++++++++++++++----------
       drivers/usb/core/usb.h       |   18 +++++++++++
       drivers/usb/input/hid-core.c |    2 -
       drivers/usb/misc/usbtest.c   |   10 ------
       drivers/usb/net/pegasus.c    |    2 -
       drivers/usb/net/usbnet.c     |    2 -
       8 files changed, 85 insertions(+), 48 deletions(-)
      db690874
  7. 09 9月, 2005 1 次提交
    • A
      [PATCH] USB: URB_ASYNC_UNLINK flag removed from the kernel · b375a049
      Alan Stern 提交于
      29 July 2005, Cambridge, MA:
      
      This afternoon Alan Stern submitted a patch to remove the URB_ASYNC_UNLINK
      flag from the Linux kernel.  Mr. Stern explained, "This flag is a relic
      from an earlier, less-well-designed system.  For over a year it hasn't
      been used for anything other than printing warning messages."
      
      An anonymous spokesman for the Linux kernel development community
      commented, "This is exactly the sort of thing we see happening all the
      time.  As the kernel evolves, support for old techniques and old code can
      be jettisoned and replaced by newer, better approaches.  Proprietary
      operating systems do not have the freedom or flexibility to change so
      quickly."
      
      Mr. Stern, a staff member at Harvard University's Rowland Institute who
      works on Linux only as a hobby, noted that the patch (labelled as548) did
      not update two files, keyspan.c and option.c, in the USB drivers' "serial"
      subdirectory.  "Those files need more extensive changes," he remarked.
      "They examine the status field of several URBs at times when they're not
      supposed to.  That will need to be fixed before the URB_ASYNC_UNLINK flag
      is removed."
      
      Greg Kroah-Hartman, the kernel maintainer responsible for overseeing all
      of Linux's USB drivers, did not respond to our inquiries or return our
      calls.  His only comment was "Applied, thanks."
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b375a049
  8. 05 9月, 2005 1 次提交
  9. 28 6月, 2005 1 次提交
    • D
      [PATCH] USB: usbtest updates · ff7c79e4
      David Brownell 提交于
      Updates to "usbtest" driver:
      
        * Improve some diagnostics.  One path that never generated diagnostics
          before should now generate two ... unless you hit a GCC bug that
          all my compilers seem to have, go figure.
      
        * Add suspend/resume support, so this behaves when the Linux host
          being used for testing suspends.
      
        * Don't test the "zero byte ep0 read" case unless real-world relevance
          for the testing is is irrelevant.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ff7c79e4
  10. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4