From: Greg KH To: torvalds@transmeta.com Cc: linux-usb-devel@lists.sourceforge.net Subject: [BK PATCH] USB changes for 2.5.10 Pull from: bk://linuxusb.bkbits.net/linus-2.5 drivers/usb/Config.help | 8 drivers/usb/class/printer.c | 21 + drivers/usb/core/Config.in | 11 - drivers/usb/core/usb.c | 170 ++++++++++++++-- drivers/usb/host/ehci-hub.c | 36 +-- drivers/usb/host/ohci-hub.c | 5 drivers/usb/image/mdc800.c | 9 drivers/usb/image/scanner.c | 9 drivers/usb/image/scanner.h | 5 drivers/usb/input/hiddev.c | 28 +- drivers/usb/media/dabusb.c | 15 + drivers/usb/media/dabusb.h | 5 drivers/usb/misc/auerswald.c | 34 ++- drivers/usb/misc/brlvger.c | 21 + drivers/usb/net/pegasus.h | 2 drivers/usb/serial/keyspan.c | 171 ++++++++++++---- drivers/usb/usb-skeleton.c | 38 ++- include/linux/brlvger.h | 7 include/linux/usb.h | 452 ++++++++++++++++++++++--------------------- 19 files changed, 689 insertions(+), 358 deletions(-) ------ ChangeSet@1.564, 2002-04-25 16:20:39-07:00, greg@kroah.com USB keyspan driver patch that fixes lots of different problems. - Modified port open, port close, and send setup() logic to fix various data and endpoint synchronization bugs and device LED status bugs. - Changed keyspan_write_room() to accurately return transmit buffer availability. - Changed forwardingLength from 1 to 16 for all adapters. drivers/usb/serial/keyspan.c | 171 ++++++++++++++++++++++++++++++++----------- 1 files changed, 130 insertions(+), 41 deletions(-) ------ ChangeSet@1.563, 2002-04-25 15:13:02-07:00, greg@kroah.com added support for USB_DYNAMIC_MINORS to the usb drivers that can use it. drivers/usb/class/printer.c | 21 +++++++++++++++------ drivers/usb/image/mdc800.c | 9 +++++++++ drivers/usb/image/scanner.c | 9 ++++++--- drivers/usb/image/scanner.h | 5 +++++ drivers/usb/input/hiddev.c | 28 ++++++++++++++++++++-------- drivers/usb/media/dabusb.c | 15 ++++++++++++--- drivers/usb/media/dabusb.h | 5 +++++ drivers/usb/misc/auerswald.c | 33 ++++++++++++++++++++++----------- drivers/usb/misc/brlvger.c | 21 ++++++++++++--------- drivers/usb/usb-skeleton.c | 38 ++++++++++++++++++++++++-------------- include/linux/brlvger.h | 5 +++++ 11 files changed, 135 insertions(+), 54 deletions(-) ------ ChangeSet@1.562, 2002-04-25 15:12:28-07:00, greg@kroah.com added CONFIG_USB_DYNAMIC_MINORS to the Config.in file :) drivers/usb/core/Config.in | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) ------ ChangeSet@1.561, 2002-04-25 15:11:42-07:00, greg@kroah.com added CONFIG_USB_DYNAMIC_MINORS support to the USB core Here's a patch that finishes off my previous patch that enabled us to use less than 16 minor numbers per USB device that uses the USB major number. This patch allows all such devices to share all 256 minor numbers at once, much like the usbserial core shares the USB serial major with all usb-serial drivers. This also solves Oliver's problem of having 30 printers :) drivers/usb/Config.help | 8 ++ drivers/usb/core/usb.c | 169 ++++++++++++++++++++++++++++++++++++++++++------ include/linux/usb.h | 9 ++ 3 files changed, 166 insertions(+), 20 deletions(-) ------ ChangeSet@1.544.3.5, 2002-04-25 12:03:22-07:00, greg@kroah.com added MODULE_LICENSE() to the auerswald USB driver. drivers/usb/misc/auerswald.c | 1 + 1 files changed, 1 insertion(+) ------ ChangeSet@1.544.3.4, 2002-04-25 10:26:03-07:00, david-b@pacbell.net [PATCH] PATCH 2.5.10 -- polling interval (hub + ...) This patch is the result of that discussion a short while back to fix the "hub driver polls too quickly at high speed" bug. - redefines "interval" of usb_fill_int_urb() to be what the endpoint descriptor returns, and transparently does the log-to-linear conversion if it's high speed - (most of the patch by volume!!) moves declarations forward so testing dev->speed there will compile. No driver changes were needed -- most drivers pass the endpoint bInterval value already, and those that don't are not dealing with high speed device quirks. p.s. Includes an unrelated one-liner: deletes export of usb_inc_dev_use() so it now shows up in kernel doc. Minor oversight in an earlier patch. drivers/usb/core/usb.c | 1 include/linux/usb.h | 443 ++++++++++++++++++++++++------------------------- 2 files changed, 226 insertions(+), 218 deletions(-) ------ ChangeSet@1.544.3.3, 2002-04-25 10:25:29-07:00, david-b@pacbell.net [PATCH] PATCH 2.5.10: set_bit() and friends now need a long paramater USB set_bit() and friends now need a long paramater Fixes the set_bit() warnings in the ehci and ohci driver drivers/usb/host/ehci-hub.c | 36 ++++++++++++++++++++---------------- drivers/usb/host/ohci-hub.c | 5 ++++- 2 files changed, 24 insertions(+), 17 deletions(-) ------ ChangeSet@1.544.3.2, 2002-04-23 14:18:41-07:00, petkan@mastika.lnxw.com [PATCH] SOHOware NUB110 addet to the support list USB pegasus driver SOHOware NUB110 addet to the support list drivers/usb/net/pegasus.h | 2 ++ 1 files changed, 2 insertions(+) ------ ChangeSet@1.544.3.1, 2002-04-23 14:18:26-07:00, greg@kroah.com USB voyager driver changed the number of minor devices the braille voyager driver uses. include/linux/brlvger.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ------