From: Greg KH To: torvalds@transmeta.com Cc: linux-usb-devel@lists.sourceforge.net Subject: [BK PATCH] USB changes for 2.5.21 USB changes for 2.5.21 Pull from: bk://linuxusb.bkbits.net/linus-2.5 Documentation/usb/philips.txt | 8 drivers/usb/class/Config.help | 20 + drivers/usb/class/printer.c | 13 - drivers/usb/core/devices.c | 4 drivers/usb/core/devio.c | 19 - drivers/usb/core/hcd-pci.c | 2 drivers/usb/host/hc_simple.c | 25 -- drivers/usb/host/ohci-hcd.c | 8 drivers/usb/host/ohci-q.c | 32 +- drivers/usb/host/ohci.h | 18 + drivers/usb/host/uhci-hcd.c | 6 drivers/usb/host/uhci.c | 6 drivers/usb/image/hpusbscsi.c | 3 drivers/usb/image/hpusbscsi.h | 14 - drivers/usb/media/dabusb.c | 4 drivers/usb/media/pwc-ctrl.c | 451 ++++++++++++++++++++++++++++++++++----- drivers/usb/media/pwc-ioctl.h | 65 +++++ drivers/usb/media/pwc.h | 7 drivers/usb/media/se401.c | 6 drivers/usb/net/cdc-ether.c | 18 - drivers/usb/serial/ipaq.c | 3 drivers/usb/serial/keyspan_pda.c | 37 +-- 22 files changed, 607 insertions(+), 162 deletions(-) ------ ChangeSet@1.457, 2002-06-11 14:51:00-07:00, greg@kroah.com USB keyspan_pda.c : fix problems found by CHECKER pay attention to the return value of usb_control_msg as found by the CHECKER tool. drivers/usb/serial/keyspan_pda.c | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) ------ ChangeSet@1.456, 2002-06-11 14:49:43-07:00, greg@kroah.com USB: printer fix as found by the CHECKER tool. pay attention to return value of usb_submit_urb as found by the CHECKER tool. drivers/usb/class/printer.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) ------ ChangeSet@1.455, 2002-06-11 10:44:04-07:00, patch@luckynet.dynu.com [PATCH] new list macros for USB This is a collected patch for USB drivers to use the new list macros (list_del_init, list_move*). drivers/usb/core/devio.c | 19 +++++++------------ drivers/usb/host/hc_simple.c | 25 ++++++++++--------------- drivers/usb/host/uhci-hcd.c | 6 ++---- drivers/usb/host/uhci.c | 6 ++---- drivers/usb/media/dabusb.c | 3 +-- drivers/usb/serial/ipaq.c | 3 +-- 6 files changed, 23 insertions(+), 39 deletions(-) ------ ChangeSet@1.454, 2002-06-11 09:50:40-07:00, greg@kroah.com merge drivers/usb/net/cdc-ether.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) ------ ChangeSet@1.447.16.10, 2002-06-11 09:24:42-07:00, oliver@neukum.name [PATCH] USB: small optimisation for hpusbscsi This does a little optimisation, namely kill an unneeded counter and put the members of the device descriptor structure in an order that should be a little more efficient. drivers/usb/image/hpusbscsi.c | 3 --- drivers/usb/image/hpusbscsi.h | 14 +++++++------- 2 files changed, 7 insertions(+), 10 deletions(-) ------ ChangeSet@1.447.16.9, 2002-06-11 09:21:49-07:00, davem@redhat.com [PATCH] Warning fix DEVICE_ID_SIZE clashes with the define in include/linux/device.h drivers/usb/class/printer.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ------ ChangeSet@1.447.16.8, 2002-06-11 09:21:34-07:00, davem@redhat.com [PATCH] Another Sparc build fix Need asm/irq.h too... drivers/usb/core/hcd-pci.c | 1 + 1 files changed, 1 insertion(+) ------ ChangeSet@1.447.16.7, 2002-06-11 09:21:16-07:00, davem@redhat.com [PATCH] Build fix for 2.5.x Need asm/io.h if you want to use ioremap() et al. drivers/usb/core/hcd-pci.c | 1 + 1 files changed, 1 insertion(+) ------ ChangeSet@1.447.16.6, 2002-06-10 16:09:25-07:00, david-b@pacbell.net [PATCH] ohci-hcd, speedups+misc - Delays or eliminates some IRQs It'll mostly affect control or iso transfers, which typically have multiple TDs per URB, by making only the last TD generate an IRQ. - Shortens some of the submit path that needs to run with IRQs disabled ... no need to use the dma_to_td hashtable. (Of course that path is still pretty long...) - Gets rid of case where the ED state was confused ... now there's only one such state, not two. drivers/usb/host/ohci-hcd.c | 8 ++------ drivers/usb/host/ohci-q.c | 32 ++++++++++++++++++-------------- drivers/usb/host/ohci.h | 18 ++++++++++++++---- 3 files changed, 34 insertions(+), 24 deletions(-) ------ ChangeSet@1.447.16.5, 2002-06-10 11:48:18-07:00, bhards@bigpond.net.au [PATCH] USB Checker missing unlocks fixes drivers/usb/core/devices.c | 4 +++- drivers/usb/media/dabusb.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) ------ ChangeSet@1.447.16.4, 2002-06-10 11:48:03-07:00, bhards@bigpond.net.au [PATCH] USB Checker missing null pointer checks fix drivers/usb/media/se401.c | 6 ++++++ 1 files changed, 6 insertions(+) ------ ChangeSet@1.447.16.3, 2002-06-10 11:33:32-07:00, nemosoft@smcc.demon.nl [PATCH] PWC 8.7 for 2.5.20 Attached you'll find a patch for the Philips Webcam Driver version 8.7. This is a jump from 8.5, since 8.6 never officially made it into the 2.5 series due to rapid changes and incompatabilities. The biggest changes include (from the Changelog) 8.7 * Incorporating changes in ioctl() parameter passing * Also changes to URB mechanism * Updating copyright information 8.6 * Added ID's for Visionite VCS UM100 and UC300 * Removed YUV420-interlaced palette altogether (was confusing) * Removed MIRROR stuff as it didn't work anyway * Fixed a problem with the 'leds' parameter (wouldn't blink) * Added ioctl()s for advanced features: 'extended' whitebalance ioctl()s, CONTOUR, BACKLIGHT, FLICKER, DYNNOISE. * VIDIOCGCAP.name now contains real camera model name instead of 'Philips xxx webcam' * Added PROBE ioctl (see previous point & API doc) Documentation/usb/philips.txt | 8 drivers/usb/media/pwc-ctrl.c | 451 +++++++++++++++++++++++++++++++++++++----- drivers/usb/media/pwc-ioctl.h | 65 +++++- drivers/usb/media/pwc.h | 7 4 files changed, 471 insertions(+), 60 deletions(-) ------ ChangeSet@1.447.16.2, 2002-06-10 11:20:14-07:00, david-b@pacbell.net [PATCH] cdc-ether, remove warning One could get to like "KBUILD_VERBOSE=0 make" ... :) This gets rid of a compile warning. drivers/usb/net/cdc-ether.c | 2 ++ 1 files changed, 2 insertions(+) ------ ChangeSet@1.447.16.1, 2002-06-10 11:20:01-07:00, bhards@bigpond.net.au [PATCH] USB: usb-midi Configure.help entry drivers/usb/class/Config.help | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+) ------