From: Greg KH To: marcelo@conectiva.com.br Cc: linux-usb-devel@lists.sourceforge.net Subject: [BK PATCH] USB changes for 2.4.19-pre6 Pull from: bk://linuxusb.bkbits.net/marcelo-2.4 The individual patches will be sent in follow up messages to this email. thanks, greg k-h MAINTAINERS | 7 + drivers/usb/hid-core.c | 19 +++++ drivers/usb/serial/visor.c | 11 ++- drivers/usb/serial/visor.h | 1 drivers/usb/uhci.c | 52 ++++++-------- drivers/usb/uhci.h | 4 - drivers/usb/usb-uhci.h | 2 drivers/usb/usbmouse.c | 4 - drivers/usb/wacom.c | 159 +++++++++++++++++++++++++++++++++++++-------- 9 files changed, 196 insertions(+), 63 deletions(-) ------ ChangeSet@1.396, 2002-04-08 09:38:07-07:00, greg@kroah.com USB usb-uhci driver changed direct access of current->state to set_current_state() call Thanks to Paul Komkoff for reminding me of this. drivers/usb/usb-uhci.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ------ ChangeSet@1.395, 2002-04-08 09:29:30-07:00, msw@redhat.com USB wacom driver. patch to bring wacom driver up to date with Mandrake kernel (http://people.mandrakesoft.com/~flepied/projects/wacom/). This is also necessary for any currently shipping wacom devices to work properly. drivers/usb/hid-core.c | 19 +++++ drivers/usb/usbmouse.c | 4 - drivers/usb/wacom.c | 159 ++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 152 insertions(+), 30 deletions(-) ------ ChangeSet@1.394, 2002-04-08 09:26:36-07:00, greg@kroah.com USB visor driver Added support for the Sony OS 4.1 devices. Thanks to Hiroyuki ARAKI for the information. drivers/usb/serial/visor.c | 11 +++++++++-- drivers/usb/serial/visor.h | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) ------ ChangeSet@1.393, 2002-04-08 09:25:56-07:00, greg@kroah.com added Petko's maintainer info for the rtl8150 USB driver. MAINTAINERS | 7 +++++++ 1 files changed, 7 insertions(+) ------ ChangeSet@1.392, 2002-04-08 09:21:51-07:00, johannes@erdfelt.com [PATCH] uhci.c 2.4.19-pre6 FSBR speed problem The dangers of not ensuring important fields are properly set. Some, if not all, of the speed problems with uhci.c were caused because some important fields were not set and as a result, FSBR was never turned on. This patch also ensures is_suspended is set to 0 properly. This could cause some problems suspending the HC when no devices are plugged in. drivers/usb/uhci.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) ------ ChangeSet@1.391, 2002-04-08 09:21:44-07:00, johannes@erdfelt.com [PATCH] uhci.c 2.4.19-pre6 incorrect locking This fixes a problem that I've not run into and is difficult to trigger, but definately a bug. We locked urb->lock, when we meant u->lock. It also cleans up the code a little to make it easier to understand and removes an obsolete comment. drivers/usb/uhci.c | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) ------ ChangeSet@1.390, 2002-04-08 09:21:36-07:00, johannes@erdfelt.com [PATCH] uhci.c 2.4.19-pre6 cleanup This patch merely cleans up the code a little and doesn't fix any bugs. It makes a couple of code paths a bit easier to understand, removes an unused variable (uhci_list) and some procfs variables when not using procfs. drivers/usb/uhci.c | 21 ++++++++------------- drivers/usb/uhci.h | 4 ++-- 2 files changed, 10 insertions(+), 15 deletions(-) ------ ChangeSet@1.389, 2002-04-08 09:21:10-07:00, johannes@erdfelt.com [PATCH] uhci.c 2.4.19-pre6 SMP deadlock This patch fixes a bug reported by Greg and David, as well as some other people recently. uhci.c would call wait_ms, which can sleep, with spinlocks held. There are two places where this happens, but only one was the cause of the problem. Greg, please apply to 2.4 and 2.5. Thanks! JE drivers/usb/uhci.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ------