From: Greg KH To: torvalds@transmeta.com Cc: linux-usb-devel@lists.sourceforge.net Subject: [BK PATCH] USB changes for 2.5.12 Pull from: bk://linuxusb.bkbits.net/linus-2.5 Documentation/usb/usb-serial.txt | 6 drivers/scsi/sd.c | 8 drivers/usb/class/printer.c | 13 drivers/usb/host/ohci-hub.c | 4 drivers/usb/host/ohci-q.c | 12 drivers/usb/image/mdc800.c | 7 drivers/usb/image/scanner.c | 9 drivers/usb/input/hiddev.c | 8 drivers/usb/media/dabusb.c | 6 drivers/usb/media/ibmcam.c | 23 drivers/usb/media/konicawc.c | 3 drivers/usb/media/ultracam.c | 18 drivers/usb/media/usbvideo.c | 54 - drivers/usb/media/usbvideo.h | 3 drivers/usb/misc/auerswald.c | 8 drivers/usb/misc/brlvger.c | 8 drivers/usb/net/pegasus.c | 15 drivers/usb/serial/Config.help | 6 drivers/usb/serial/Config.in | 2 drivers/usb/serial/io_tables.h | 26 drivers/usb/serial/io_usbvend.h | 14 drivers/usb/serial/ipaq.c | 7 drivers/usb/serial/ipaq.h | 3 drivers/usb/serial/pl2303.c | 12 drivers/usb/storage/Config.help | 10 drivers/usb/storage/Config.in | 2 drivers/usb/storage/debug.c | 1 drivers/usb/storage/initializers.h | 5 drivers/usb/storage/jumpshot.c | 2 drivers/usb/storage/sddr09.c | 1871 +++++++++++++++++++++++++------------ drivers/usb/storage/sddr09.h | 4 drivers/usb/storage/unusual_devs.h | 4 drivers/usb/usb-skeleton.c | 11 33 files changed, 1538 insertions(+), 647 deletions(-) ------ ChangeSet@1.573, 2002-05-02 15:44:50-07:00, spse@secret.org.uk [PATCH] 2.5.12 - make usbvideo_register take a usb_device_id table This patch makes usbvideo_register take a usb_device_id argument which it can then pass to usb_register via the struct usb_device. Currently it passes NULL. drivers/usb/media/ibmcam.c | 23 +++++++++++++---------- drivers/usb/media/konicawc.c | 3 ++- drivers/usb/media/ultracam.c | 18 ++++++++---------- drivers/usb/media/usbvideo.c | 4 +++- drivers/usb/media/usbvideo.h | 3 ++- 5 files changed, 28 insertions(+), 23 deletions(-) ------ ChangeSet@1.572, 2002-05-02 15:44:27-07:00, spse@secret.org.uk [PATCH] 2.5.12 - make usbvideo.c use USBVIDEO_NUMFRAMES correctly This patch makes usbvideo.c use the correct value of USBVIDEO_NUMFRAMES. A few places in the code assumed it was 2. This patch was tested with USBVIDEO_NUMFRAMES = 2,3,4,8,11,32 drivers/usb/media/usbvideo.c | 50 +++++++++++++++++++++++-------------------- 1 files changed, 27 insertions(+), 23 deletions(-) ------ ChangeSet@1.571, 2002-05-02 15:26:48-07:00, greg@kroah.com USB cleaned up checking the return value of usb_register_dev() drivers/usb/class/printer.c | 8 +++++++- drivers/usb/image/mdc800.c | 7 ++++++- drivers/usb/image/scanner.c | 9 ++++++++- drivers/usb/input/hiddev.c | 8 +++++++- drivers/usb/media/dabusb.c | 6 +++++- drivers/usb/misc/auerswald.c | 8 +++++++- drivers/usb/misc/brlvger.c | 8 +++++++- drivers/usb/usb-skeleton.c | 11 +++++++++-- 8 files changed, 56 insertions(+), 9 deletions(-) ------ ChangeSet@1.570, 2002-05-02 15:26:05-07:00, greg@kroah.com USB io_edgeport driver added Black Box OEM device ids to the io_edgeport driver. drivers/usb/serial/io_tables.h | 26 ++++++++++++++++++++++++++ drivers/usb/serial/io_usbvend.h | 14 ++++++++++++++ 2 files changed, 40 insertions(+) ------ ChangeSet@1.569, 2002-05-02 14:53:02-07:00, wolfgang.fritz@gmx.net [PATCH] pl2303.c: do not reset termios settings in each open() USB pl2303 driver This is a patch which avoids resetting the termios settings to default values (9600 Baud etc.) in each call to pl2303_open (). It does this only on the first call to pl2303_set_termios. After that it sets the termios to the last stored values. This way commands like stty -F /dev/ttyUSB0 115200 work the same way as with other serial ttys. drivers/usb/serial/pl2303.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) ------ ChangeSet@1.568, 2002-05-02 14:31:51-07:00, oliver@neukum.name [PATCH] tiny race with devfs in printer USB printer bugfix looking through printer.c in preparation for shifting devfs support to usbcore I noticed that printer advertises a device through devfs before it can be opened. As devfs, or more precisely devfsd can be used to trigger actions this matters and is wrong. drivers/usb/class/printer.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) ------ ChangeSet@1.567, 2002-05-01 11:19:02-07:00, Andries.Brouwer@cwi.nl [PATCH] sddr09 write capability USB sddr09 The main purpose of the patch is to add write capability. drivers/scsi/sd.c | 8 drivers/usb/storage/Config.help | 10 drivers/usb/storage/Config.in | 2 drivers/usb/storage/debug.c | 1 drivers/usb/storage/initializers.h | 5 drivers/usb/storage/jumpshot.c | 2 drivers/usb/storage/sddr09.c | 1871 +++++++++++++++++++++++++------------ drivers/usb/storage/sddr09.h | 4 drivers/usb/storage/unusual_devs.h | 4 9 files changed, 1341 insertions(+), 566 deletions(-) ------ ChangeSet@1.566, 2002-04-30 21:44:24-07:00, ganesh@vxindia.veritas.com [PATCH] usb ipaq driver update USB ipaq driver Added support for the Casio EM500. Completely untested. Thanks to info from Nathan Documentation/usb/usb-serial.txt | 6 +++--- drivers/usb/serial/Config.help | 6 +++--- drivers/usb/serial/Config.in | 2 +- drivers/usb/serial/ipaq.c | 7 ++++++- drivers/usb/serial/ipaq.h | 3 +++ 5 files changed, 16 insertions(+), 8 deletions(-) ------ ChangeSet@1.565, 2002-04-30 21:42:48-07:00, david-b@pacbell.net [PATCH] Re: ohci-hcd and that NCR implementation ... The attached patch makes the one SiS controller behave like the other... the key fix being wmb() to make sure that no writes are still in CPU caches before telling the HC it's OK to fetch the data. (And a minor tweak to access PCI less often through the hub driver.) But the OPTi problem seems to be different. Could you try this patch to see if it affects the problem your seeing with that NCR implementation? And in any case, please integrate it to Linus' latest. (Against 2.5.10, might be some fuzz on the pci tweak due to that warning fix.) Those missing wmb() statements have likely been the root cause of various usb-ohci flakes reported over time, too. The drivers are still almost identical in those areas. (Though something made ohci-hcd consistently lose that cache flush race; maybe it's a bit faster.) drivers/usb/host/ohci-hub.c | 4 +--- drivers/usb/host/ohci-q.c | 12 ++++++++++-- 2 files changed, 11 insertions(+), 5 deletions(-) ------ ChangeSet@1.564, 2002-04-30 21:42:34-07:00, david-b@pacbell.net [PATCH] PATCH 2.5.10 -- pegasus ethtool support This resends the "usb_make_path()" update (my net-0408 patch) to pegasus, so it reports the same bus info the other usb network drivers now return, and fixes a couple other bugs in ethtool support I happened to notice: - driver info wasn't providing the "driver short name". - settings weren't correctly initting data (returned garbage) The first bug caused one text fields to overflow into the next in "ethtool -i eth1" output. The second caused a 10/100 device to report itself with "ethtool eth1" as having gigabit support ... :) drivers/usb/net/pegasus.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) ------