From: Greg KH To: torvalds@transmeta.com Cc: linux-usb-devel@lists.sourceforge.net Subject: [BK PATCH] USB changes for 2.5.14 Pull from: bk://linuxusb.bkbits.net/linus-2.5 drivers/usb/Config.in | 2 drivers/usb/Makefile | 2 drivers/usb/class/printer.c | 14 +- drivers/usb/core/hub.h | 1 drivers/usb/core/usb.c | 5 - drivers/usb/host/ehci-hcd.c | 8 + drivers/usb/host/ehci-q.c | 165 ++++++++++++++++------------------ drivers/usb/host/ehci-sched.c | 28 ++++- drivers/usb/host/usb-ohci.c | 23 ++-- drivers/usb/input/hid-core.c | 20 ++-- drivers/usb/net/usbnet.c | 197 +++++++++++++++++++++++++++++++---------- drivers/usb/serial/pl2303.c | 1 drivers/usb/serial/pl2303.h | 3 drivers/usb/serial/usbserial.c | 2 14 files changed, 298 insertions(+), 173 deletions(-) ------ ChangeSet@1.556, 2002-05-07 14:55:20-07:00, david-b@pacbell.net [PATCH] PATCH 2.5.14 -- ehci misc fixes - Report better errors, and in one case the correct one. - Adds strategic wmb() calls - Claims the right (scaled) ISO bandwidth - Uses non-CVS version ID This will likely resolve that Archos MP3 Jukebox issue, where "-104" (-ECONNRESET) was appearing mysteriously. drivers/usb/host/ehci-hcd.c | 8 +- drivers/usb/host/ehci-q.c | 158 +++++++++++++++++++----------------------- drivers/usb/host/ehci-sched.c | 28 ++++++- 3 files changed, 102 insertions(+), 92 deletions(-) ------ ChangeSet@1.555, 2002-05-07 14:48:55-07:00, greg@kroah.com USB minor -dj tree updates. drivers/usb/core/hub.h | 1 + drivers/usb/input/hid-core.c | 10 +++++----- drivers/usb/serial/usbserial.c | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) ------ ChangeSet@1.554, 2002-05-07 14:48:25-07:00, greg@kroah.com USB ohci driver update add PMAC changes found in -dj tree drivers/usb/host/usb-ohci.c | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) ------ ChangeSet@1.553, 2002-05-07 14:47:47-07:00, greg@kroah.com USB Config.in and Makefile minor changes sync up with -dj tree drivers/usb/Config.in | 2 +- drivers/usb/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ------ ChangeSet@1.552, 2002-05-07 10:45:21-07:00, david-b@pacbell.net [PATCH] USB usbnet driver update - generalizes/cleans keventd support to also handle * rx stalls (and usb 2.0 transaction translator unplug) * rx memory shortfalls (latent bug Oliver noticed) * cleanup on device disconnect (quiesce first) - merges Brad's patch to use the IEEE802 "locally assigned" bit - fixes a couple minor bugs on error paths (leak, bogus diagnostic) - updates some comments drivers/usb/net/usbnet.c | 197 ++++++++++++++++++++++++++++++++++++----------- 1 files changed, 152 insertions(+), 45 deletions(-) ------ ChangeSet@1.551, 2002-05-06 17:26:18-07:00, greg@kroah.com USB pl2303 driver added support for another pl2303 device thanks to lutz rothhardt drivers/usb/serial/pl2303.c | 1 + drivers/usb/serial/pl2303.h | 3 +++ 2 files changed, 4 insertions(+) ------ ChangeSet@1.513.3.5, 2002-05-06 17:21:03-07:00, oliver@neukum.name [PATCH] usage count handling during disconnect in usb.c during disconnect handling a reference to a driver is passed after the module usage count is decremented. In theory this is a race. drivers/usb/core/usb.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) ------ ChangeSet@1.513.3.4, 2002-05-06 10:13:43-07:00, david-b@pacbell.net [PATCH] PATCH ehci -- interrupt xfer requeue The fix basically removes a bit-complement that shouldn't have been there. (Plus related simplification.) That changed the PID, so that (for one example) only the first hub plug/unplug event could work. So it's essential for anyone using high speed hubs. I'm still not quite sure why this hasn't affected more testing, but that's life ... :) drivers/usb/host/ehci-q.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) ------ ChangeSet@1.513.3.3, 2002-05-06 10:06:06-07:00, oliver@neukum.name [PATCH] USB printer freeing minors in probe error path fix a failure to free a minor in the error path of probe drivers/usb/class/printer.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) ------ ChangeSet@1.447.73.2, 2002-05-03 13:52:50+02:00, vojtech@twilight.ucw.cz Fix for the previous fix. hid->name is 128 bytes, not 64 bytes long. drivers/usb/input/hid-core.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ------ ChangeSet@1.447.73.1, 2002-05-03 13:20:27+02:00, vojtech@twilight.ucw.cz This fixes a possible buffer overflow in hid-core.c in case a device would have very long string descriptors (vendor and device name.) drivers/usb/input/hid-core.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ------