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

USB changes for 2.5.22

Pull from:  bk://linuxusb.bkbits.net/linus-2.5

 drivers/usb/class/usb-midi.c   |    2 
 drivers/usb/host/ohci-dbg.c    |   96 +++++++++++++++++++++++++++-
 drivers/usb/host/ohci-hcd.c    |    7 +-
 drivers/usb/host/ohci-mem.c    |    1 
 drivers/usb/host/ohci-q.c      |  135 ++++++++++++++++++++-------------------
 drivers/usb/host/ohci.h        |   20 +++--
 drivers/usb/net/kaweth.c       |   33 +++++++--
 drivers/usb/storage/scsiglue.c |   14 +---
 drivers/usb/storage/usb.c      |  139 ++++++++++++++++++++---------------------
 drivers/usb/storage/usb.h      |   11 +--
 10 files changed, 286 insertions(+), 172 deletions(-)
------

[email-masked], 2002-06-18 13:47:10-07:00, [email-masked]
  USB usb-midi driver: remove check for kernel version, as it's not needed.

 drivers/usb/class/usb-midi.c |    2 --
 1 files changed, 2 deletions(-)
------

[email-masked], 2002-06-18 13:44:22-07:00, [email-masked]
  [PATCH] make kaweth use the sk_buff directly on tx
  
  this change set against 2.5 will make kaweth put its private header
  into the sk_buff directly if possible or else allocate a temporary sk_buff.
  It saves memory and usually a copy.

 drivers/usb/net/kaweth.c |   33 +++++++++++++++++++++++++--------
 1 files changed, 25 insertions(+), 8 deletions(-)
------

[email-masked], 2002-06-18 13:43:07-07:00, [email-masked]
  [PATCH] ohci misc fixes
  
  This patch applies on top of the other two (for init problems):
  
  - Uses time to balance interrupt load, not number of transfers.
     One 8-byte lowspeed transfer costs as much as ten same-size
     at full speed ... previous code could overcommit branches.
  - Shrinks the code a smidgeon, mostly in the submit path.
  - Updates comments, remove some magic numbers, etc.
  - Adds some debug dump routines for EDs and TDs, which can
     be rather helpful when debugging!
  - Lays ground work for a "shadow" <linux/list.h> TD queue
     (but doesn't enlarge the TD or ED on 32bit cpus)
  
  I'm not sure anyone would have run into that time/balance
  issue, though some folk have talked about hooking up lots
  of lowspeed devices and that would have made trouble.

 drivers/usb/host/ohci-dbg.c |   96 ++++++++++++++++++++++++++++++-
 drivers/usb/host/ohci-hcd.c |    7 +-
 drivers/usb/host/ohci-mem.c |    1 
 drivers/usb/host/ohci-q.c   |  135 +++++++++++++++++++++++---------------------
 drivers/usb/host/ohci.h     |   20 +++---
 5 files changed, 180 insertions(+), 79 deletions(-)
------

[email-masked], 2002-06-18 13:35:32-07:00, [email-masked]
  [PATCH] USB storage: change atomic_t to bitfield, consolidate #defines
  
  This patch changes from using an atomic_t with two states to using a
  bitfield to determine if a device is attached.  It also moves some common
  #defines into a common header file.
  
  courtsey of Alan Stern <[email-masked]>

 drivers/usb/storage/scsiglue.c |   14 ++++----------
 drivers/usb/storage/usb.c      |   21 +++++++--------------
 drivers/usb/storage/usb.h      |   11 ++++++-----
 3 files changed, 17 insertions(+), 29 deletions(-)
------

[email-masked], 2002-06-18 13:30:56-07:00, [email-masked]
  [PATCH] USB storage: cleanup storage_probe()
  
  Attached is a BK patch which cleans up the usb-storage driver
  storage_probe() function.  This patch is courtsey Alan Stern.
  
  Basically, it removes some redundant checks, moves all the error-path code
  to one place (reducing code duplication), and fixes some spelling errors.

 drivers/usb/storage/usb.c |  118 ++++++++++++++++++++++++----------------------
 1 files changed, 64 insertions(+), 54 deletions(-)
------