Subject: [BK PATCH] USB changes for 2.5.66
From: Greg KH <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked]

Hi,

Here are some small USB changes.  Basically all little cleanups and
bugfixes, nothing major.

Please pull from:  bk://linuxusb.bkbits.net/linus-2.5

thanks,

greg k-h

 CREDITS                         |    4 
 MAINTAINERS                     |    5 
 drivers/usb/Makefile            |    1 
 drivers/usb/class/audio.c       |    1 
 drivers/usb/class/cdc-acm.c     |    2 
 drivers/usb/core/buffer.c       |    1 
 drivers/usb/core/hcd.c          |    9 
 drivers/usb/core/hub.c          |   56 +--
 drivers/usb/core/message.c      |    1 
 drivers/usb/core/usb-debug.c    |    1 
 drivers/usb/core/usb.c          |   13 
 drivers/usb/host/ohci-hcd.c     |    1 
 drivers/usb/image/mdc800.c      |    1 
 drivers/usb/media/ov511.c       |    1 
 drivers/usb/media/stv680.c      |    1 
 drivers/usb/misc/emi26.c        |   37 +-
 drivers/usb/misc/speedtch.c     |  646 ++++++++++++++++------------------------
 drivers/usb/misc/usbtest.c      |    7 
 drivers/usb/net/cdc-ether.c     |   19 -
 drivers/usb/serial/kobil_sct.c  |   17 -
 drivers/usb/storage/isd200.c    |    5 
 drivers/usb/storage/scsiglue.c  |   54 +--
 drivers/usb/storage/transport.c |    3 
 drivers/usb/storage/usb.c       |    6 
 drivers/usb/usb-skeleton.c      |    6 
 25 files changed, 385 insertions(+), 513 deletions(-)
-----

[email-masked], 2003-03-25 15:16:26-08:00, [email-masked]
  USB: remove unneeded #include <linux/version.h>

 drivers/usb/class/audio.c    |    1 -
 drivers/usb/core/buffer.c    |    1 -
 drivers/usb/core/usb-debug.c |    1 -
 drivers/usb/host/ohci-hcd.c  |    1 -
 drivers/usb/image/mdc800.c   |    1 -
 drivers/usb/media/ov511.c    |    1 -
 drivers/usb/media/stv680.c   |    1 -
 7 files changed, 7 deletions(-)
------

[email-masked], 2003-03-25 14:13:46-08:00, [email-masked]
  [PATCH] USB: CDC Ethernet maintainer transfer

 CREDITS     |    4 ++++
 MAINTAINERS |    5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)
------

[email-masked], 2003-03-25 14:11:56-08:00, [email-masked]
  [PATCH] USB: CDC Ethernet zero packet fix

 drivers/usb/net/cdc-ether.c |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)
------

[email-masked], 2003-03-25 13:59:05-08:00, [email-masked]
  [PATCH] USB: fix compiler warning in usb-storage

 drivers/usb/storage/scsiglue.c |    1 -
 1 files changed, 1 deletion(-)
------

[email-masked], 2003-03-25 13:49:07-08:00, [email-masked]
  [PATCH] usb-storage: cleanup
  
  This patch changes some debugging output to be a bit more clear, and
  removes some un-needed code -- it's no longer possible for us to have
  active URBs in the disconnect path.

 drivers/usb/storage/usb.c |    6 +-----
 1 files changed, 1 insertion(+), 5 deletions(-)
------

[email-masked], 2003-03-25 13:45:59-08:00, [email-masked]
  [PATCH] usb-storage: initialize urb status
  
  This patch initializes the URB status before it's used.  While not
  technically required, it's good programming practice (and a similar bug
  just bit us on 2.4 with UHCI).

 drivers/usb/storage/transport.c |    1 +
 1 files changed, 1 insertion(+)
------

[email-masked], 2003-03-25 13:45:34-08:00, [email-masked]
  [PATCH] usb-storage: LUN and isd200
  
  This patch (developed with assistance from Jan Harkes
  <[email-masked]>) makes the LUN field of a bulk-only transport come
  from a known-good source, rather than the likely-good command-byte.  It
  also updates the ISD200 driver to work with this change.

 drivers/usb/storage/isd200.c    |    5 +++++
 drivers/usb/storage/transport.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
------

[email-masked], 2003-03-25 13:30:08-08:00, [email-masked]
  [PATCH] USB: storage: add logging to reset
  
    - add logging to reset

 drivers/usb/storage/scsiglue.c |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
------

[email-masked], 2003-03-25 13:29:44-08:00, [email-masked]
  [PATCH] USB: storage device reset cleanup
  
  > In the absence of far-reaching changes to the API, my suggestion is to
  > have the emulated SCSI bus reset code in usb-storage do nothing but log an
  > error message and return an error code.  For the time being, considering
  > how infrequently these resets occur, we can simply rely on the user
  > unplugging the USB cable and putting it back in or cycling the power to
  > the drive.  (Yes, there are situations where these resets crop up
  > regularly -- but they are the result of some other incompatibility that a
  > device reset won't fix anyway.)
  
  OK, as the consensus seems to be that in the short run changing things
  for a full reset implementation is not worth it, here's an implementation
  that does the best we can do without.
  It issues a reset only if we can be sure that there are no other users
  of the device in question.
  As the version currently in the storage driver is broken anyway,
  this is a definite improvement. And it addresses the need of exporting
  the probe/remove functions for storage's sake.

 drivers/usb/storage/scsiglue.c |   40 ++++++++++++++--------------------------
 1 files changed, 14 insertions(+), 26 deletions(-)
------

[email-masked], 2003-03-25 13:23:01-08:00, [email-masked]
  [PATCH] USB: Another memory allocation in block IO error handling path
  
    - memory allocation in block io error code path with GFP_KERNEL

 drivers/usb/core/hub.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
------

[email-masked], 2003-03-25 13:07:05-08:00, [email-masked]
  [PATCH] USB: fix Makefile to allow usb midi driver to be built if it's the only class driver selected.

 drivers/usb/Makefile |    1 +
 1 files changed, 1 insertion(+)
------

[email-masked], 2003-03-25 12:41:14-08:00, [email-masked]
  [PATCH] USB: usb/misc/emi26.c stack reduction
  
  Reduces stack usage in emi26_load_firmware().

 drivers/usb/misc/emi26.c |   37 +++++++++++++++++++++++++------------
 1 files changed, 25 insertions(+), 12 deletions(-)
------

[email-masked], 2003-03-25 12:40:48-08:00, [email-masked]
  [PATCH] USB: Compiler error in cdc-acm when DEBUG defined

 drivers/usb/class/cdc-acm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
------

[email-masked], 2003-03-25 11:54:38-08:00, [email-masked]
  [PATCH] USB: usb_skeleton.c trivial fix
  
  Remove redundant __FILE__.

 drivers/usb/usb-skeleton.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
------

[email-masked], 2003-03-25 11:54:15-08:00, [email-masked]
  [PATCH] USB: usb-skeleton, usbtest use "real" device ids
  
  I'll be switching "gadget zero" to use real product IDs
  (donated by NetChip), and these are the two drivers that
  will need to recognize them.

 drivers/usb/misc/usbtest.c |    5 +++++
 drivers/usb/usb-skeleton.c |    4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)
------

[email-masked], 2003-03-25 11:53:49-08:00, [email-masked]
  [PATCH] USB: missing include
  
  at least Alpha needs mm.h for "page_address".

 drivers/usb/core/message.c |    1 +
 1 files changed, 1 insertion(+)
------

[email-masked], 2003-03-25 11:34:31-08:00, [email-masked]
  [PATCH] USB speedtouch: eliminate ATM open/close races
  
  The list of open vccs is modified by open/close, and traversed by the
  receive tasklet.  This is the last race I know of in this driver.

 drivers/usb/misc/speedtch.c |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
------

[email-masked], 2003-03-25 11:34:04-08:00, [email-masked]
  [PATCH] USB speedtouch: per vcc data cleanups
  
  Use struct list_head rather than a singly linked list in udsl_vcc_data.  Reject
  attempts to open multiple vccs with the same vpi/vci pair.  Some cleanups too.

 drivers/usb/misc/speedtch.c |  204 +++++++++++++++++++++-----------------------
 1 files changed, 98 insertions(+), 106 deletions(-)
------

[email-masked], 2003-03-25 11:33:39-08:00, [email-masked]
  [PATCH] USB speedtouch: trivial cleanups

 drivers/usb/misc/speedtch.c |  110 ++++++++++++++++++++------------------------
 1 files changed, 51 insertions(+), 59 deletions(-)
------

[email-masked], 2003-03-25 11:33:14-08:00, [email-masked]
  [PATCH] USB speedtouch: code reorganization
  
  Remove dead code from sarlib, reorganize live sarlib code (trivial transformations).

 drivers/usb/misc/speedtch.c |  312 ++++++++++++++------------------------------
 1 files changed, 100 insertions(+), 212 deletions(-)
------

[email-masked], 2003-03-21 17:01:26-08:00, [email-masked]
  [PATCH] add missing usb_put_urb() after error
  
  This is a multi-part message in MIME format.

 drivers/usb/core/hcd.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
------

[email-masked], 2003-03-21 17:00:25-08:00, [email-masked]
  [PATCH] USB: potential dereference of user pointer errors in kobil_sct.c

 drivers/usb/serial/kobil_sct.c |   17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)
------

[email-masked], 2003-03-21 12:54:21-08:00, [email-masked]
  [PATCH] usbtest catch -ENOMEM
  
  Smatch seems to be returning mostly false positives,
  but not this time.

 drivers/usb/misc/usbtest.c |    2 ++
 1 files changed, 2 insertions(+)
------

[email-masked], 2003-03-21 12:53:59-08:00, [email-masked]
  [PATCH] usb hub diagnostics
  
  More uniformity-in-diagnostics work, and don't emit
  a error message in one known non-error case.

 drivers/usb/core/hub.c |   54 ++++++++++++++++++++++++++-----------------------
 1 files changed, 29 insertions(+), 25 deletions(-)
------

[email-masked], 2003-03-21 12:53:36-08:00, [email-masked]
  [PATCH] usb_connect() kerneldoc
  
  previous text was wrong/confusing, all it does
  is pick a number.  this routine should be merged
  with usb_new_device() someday, but doing that
  would mean changing the hcds (as well as hub.c)
  so it's not worth it yet.

Push file://home/greg/linux/BK/gregkh-2.5 -> file://home/greg/linux/BK/bleed-2.5
 drivers/usb/core/usb.c |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
------