From: Greg KH To: torvalds@osdl.org Cc: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [BK PATCH] USB fixes for 2.6.0-test4 Hi, Here are some USB fixes for 2.6.0-test4. There are a large number of "janitorial" audit fixes in here, and a range of compile and run-time bugfixes. Highlights include a fix for the keyspan devices to prevent them from oopsing when plugged in. Please pull from: bk://kernel.bkbits.net/gregkh/linux/linus-2.6 Patches will be posted to linux-usb-devel as a follow-up thread for those who want to see them. thanks, greg k-h CREDITS | 16 Documentation/DocBook/writing_usb_driver.tmpl | 135 +---- Documentation/usb/hotplug.txt | 14 drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 drivers/media/video/videodev.c | 2 drivers/usb/class/bluetty.c | 4 drivers/usb/class/cdc-acm.c | 11 drivers/usb/class/usb-midi.c | 20 drivers/usb/class/usblp.c | 18 drivers/usb/core/file.c | 16 drivers/usb/core/hcd-pci.c | 7 drivers/usb/core/hcd.c | 28 + drivers/usb/core/hcd.h | 3 drivers/usb/core/inode.c | 2 drivers/usb/core/message.c | 30 - drivers/usb/core/usb.c | 40 + drivers/usb/gadget/net2280.c | 93 ++- drivers/usb/gadget/net2280.h | 45 + drivers/usb/host/ehci-hcd.c | 23 drivers/usb/host/ohci-hcd.c | 2 drivers/usb/host/ohci-pci.c | 29 - drivers/usb/host/ohci-q.c | 16 drivers/usb/host/uhci-hcd.c | 40 - drivers/usb/image/mdc800.c | 12 drivers/usb/input/hid-core.c | 15 drivers/usb/input/hiddev.c | 6 drivers/usb/input/kbtab.c | 8 drivers/usb/input/powermate.c | 8 drivers/usb/media/dabusb.c | 20 drivers/usb/media/dsbr100.c | 16 drivers/usb/media/ov511.c | 11 drivers/usb/media/pwc-if.c | 6 drivers/usb/media/se401.c | 151 ------ drivers/usb/media/se401.h | 3 drivers/usb/media/stv680.c | 242 +++------ drivers/usb/media/stv680.h | 3 drivers/usb/media/usbvideo.c | 197 ------- drivers/usb/media/usbvideo.h | 7 drivers/usb/media/vicam.c | 6 drivers/usb/misc/brlvger.c | 18 drivers/usb/misc/rio500.c | 10 drivers/usb/misc/tiglusb.c | 2 drivers/usb/misc/usblcd.c | 13 drivers/usb/misc/usbtest.c | 2 drivers/usb/misc/uss720.c | 9 drivers/usb/net/Kconfig | 41 + drivers/usb/net/Makefile | 2 drivers/usb/net/Makefile.mii | 1 drivers/usb/net/ax8817x.c | 1 drivers/usb/net/usbnet.c | 546 +++++++++++++++++----- drivers/usb/serial/belkin_sa.c | 13 drivers/usb/serial/cyberjack.c | 79 ++- drivers/usb/serial/digi_acceleport.c | 42 + drivers/usb/serial/empeg.c | 24 drivers/usb/serial/ftdi_sio.c | 62 +- drivers/usb/serial/io_16654.h | 18 drivers/usb/serial/io_edgeport.c | 57 +- drivers/usb/serial/io_edgeport.h | 2 drivers/usb/serial/io_fw_boot.h | 2 drivers/usb/serial/io_fw_boot2.h | 2 drivers/usb/serial/io_fw_down.h | 2 drivers/usb/serial/io_fw_down2.h | 2 drivers/usb/serial/io_fw_down3.h | 2 drivers/usb/serial/io_ionsp.h | 2 drivers/usb/serial/io_ti.c | 43 + drivers/usb/serial/io_ti.h | 2 drivers/usb/serial/io_usbvend.h | 3 drivers/usb/serial/ipaq.c | 15 drivers/usb/serial/ir-usb.c | 13 drivers/usb/serial/keyspan.c | 31 + drivers/usb/serial/keyspan_pda.c | 37 + drivers/usb/serial/keyspan_pda_fw.h | 2 drivers/usb/serial/keyspan_usa26msg.h | 4 drivers/usb/serial/keyspan_usa28msg.h | 4 drivers/usb/serial/keyspan_usa49msg.h | 4 drivers/usb/serial/kl5kusb105.c | 13 drivers/usb/serial/kobil_sct.c | 13 drivers/usb/serial/mct_u232.c | 13 drivers/usb/serial/omninet.c | 13 drivers/usb/serial/pl2303.c | 13 drivers/usb/serial/safe_serial.c | 18 drivers/usb/serial/usb-serial.c | 7 drivers/usb/serial/visor.c | 33 + drivers/usb/serial/visor.h | 6 drivers/usb/serial/whiteheat.c | 19 drivers/usb/serial/xircom_pgs_fw.h | 4 drivers/usb/storage/isd200.c | 158 +++--- drivers/usb/storage/sddr09.c | 1 drivers/usb/storage/transport.c | 8 drivers/usb/storage/unusual_devs.h | 2 drivers/usb/storage/usb.c | 15 drivers/usb/storage/usb.h | 1 drivers/usb/usb-skeleton.c | 16 include/linux/usb.h | 5 include/linux/usb_gadget.h | 22 include/linux/videodev.h | 6 96 files changed, 1618 insertions(+), 1187 deletions(-) ----- : o USB: C99: 2.6.0-t3-bk7/Documentation : o USB: storage: cbw/csw trace in order : o USB: Cyberjack patch : o USB: Aten 4 Port USB 2.0 KVM C (ACS-1724) : o USB: usb-skeleton bugfix o USB: writing usb driver documentation update Alan Stern: o USB: storage: Revised update to isd200 I/O buffer patch o USB: Another unusual_devs.h entry update o USB: root hub polling stops after suspend Daniele Bellucci: o Audit and minor cleanups in usbstorage o Audit and minor cleanups in usbnet o Another bad audit in drivers/usb/*: usbskeleton o Another bad audit in drivers/usb/*: cdc-acm o Another bad audit in drivers/usb/*: usblp o Another bad usb_register audit: dvb-ttusb-budget o ...more usb audit o ...more usb audit o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o Audit and minor cleanups in drivers/usb/* o USB: CREDITS file update o USB: PATCH 19/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 18/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 17/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 16/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 15/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 14/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 13/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 12/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 11/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 10/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 9/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 8/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 7/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 6/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 5/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 4/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 3/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 2/19 Audit usb_register/usb_serial_register under divers/usb/serial o USB: PATCH 1/19 Audit usb_register/usb_serial_register under divers/usb/serial David Brownell: o USB: usb hcd states o USB: net2280 one-liner o USB: net2280, patch dma chains o USB: uhci-hcd, add uhci_reset() o USB: ohci -- reset, fault recovery o USB: usbnet, cdc ethernet descriptor parsing fixes o USB: net2280 fixes: ep halt, sysfs o USB: usbnet minor cleanup o USB: minor doc updates o USB: usb_new_device() shouldn't be exported o USB: Add Kconfig option for building ax8817x support in usbnet o USB: usb_sg_cancel() + disconnect, fewer messages David T. Hollis: o USB: Fix building of ax8817x if CONFIG_USB_AX8817X_STANDALONE o USB: Add ax8817x support to usbnet Gary Algier: o USB: new ids for io_ti driver Greg Kroah-Hartman: o USB: remove usage of DEVICE_ID_SIZE from usb core as it should not be used o USB: fix oops in keyspan and whiteheat devices when plugged in o USB: fix usbnet for older versions of gcc o USB: add support for 2 new devices to the visor driver o USB: removed the proc code from the se401.c driver o USB: rip out old proc code from the usbvideo driver o USB: hook up the USB driver core to the power management calls of the driver model o USB: fix up a bunch of copyrights that were incorrectly declared o USB: fix compiler warning in mdc800 driver o V4L: add video_device_remove_file() to match video_device_create_file() o V4L: fix use after free bug in v4l core o USB: add sysfs files for stv680 driver, replacing the lost proc functionality o USB: convert stv680 driver to handle the driver core changes in the v4l layer o USB: remove proc code from stv680 driver as it's no longer needed o USB: change pci host drivers to use PCI_DEVICE_CLASS() macro o USB: remove #include from some usb drivers Ian Abbott: o USB: ftdi_sio - fix memory leak and tidy up write bulk callback Michel Dänzer: o USB: linuxppc-2.5 fixlets for usbtest.c Olaf Hering: o USB: io_edgeport.o differences in 2.4 vs. 2.6 Randy Dunlap: o USB: fix functions to match prototypes o USB: fix printk parameter types Randy Hron: o USB: version.h cleanup 4 of 4 o USB: version.h cleanup 3 of 4 o USB: version.h cleanup 2 of 4 o USB: version.h cleanup 1 of 4 Vinay K. Nallamothu: o USB: digi_acceleport.c: typo fix