USB: set correct configuration in probe of ti_usb_3410_5052

Previous thread: USB: add 5372:2303 to pl2303 by Linux Kernel Mailing List on Wednesday, December 17, 2008 - 4:59 pm. (1 message)

Next thread: USB: pl2303: add id for Hewlett-Packard LD220-HP POS pole display by Linux Kernel Mailing List on Wednesday, December 17, 2008 - 4:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, December 17, 2008 - 4:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=413ba6...
Commit:     413ba6fb51fa8dc77be09552e506d00f31234e0d
Parent:     7c99200142c04d0f1ed3f048014591f841efdaed
Author:     Oliver Neukum <oliver@neukum.org>
AuthorDate: Tue Dec 16 12:25:55 2008 +0100
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Wed Dec 17 10:49:15 2008 -0800

    USB: set correct configuration in probe of ti_usb_3410_5052
    
    This driver transfers firmware. It may just as well set the correct
    configuration.
    
    Signed-off-by: Oliver Neukum <oneukum@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/usb/serial/ti_usb_3410_5052.c |   55 ++-------------------------------
 1 files changed, 3 insertions(+), 52 deletions(-)

diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index 31c42d1..01d0c70 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -16,56 +16,6 @@
  * For questions or problems with this driver, contact Texas Instruments
  * technical support, or Al Borchers <alborchers@steinerpoint.com>, or
  * Peter Berger <pberger@brimson.com>.
- *
- * This driver needs this hotplug script in /etc/hotplug/usb/ti_usb_3410_5052
- * or in /etc/hotplug.d/usb/ti_usb_3410_5052.hotplug to set the device
- * configuration.
- *
- * #!/bin/bash
- *
- * BOOT_CONFIG=1
- * ACTIVE_CONFIG=2
- *
- * if [[ "$ACTION" != "add" ]]
- * then
- * 	exit
- * fi
- *
- * CONFIG_PATH=/sys${DEVPATH%/?*}/bConfigurationValue
- *
- * if [[ 0`cat $CONFIG_PATH` -ne $BOOT_CONFIG ]]
- * then
- * 	exit
- * fi
- *
- * PRODUCT=${PRODUCT%/?*}		# delete version
- * VENDOR_ID=`printf "%d" 0x${PRODUCT%/?*}`
- * PRODUCT_ID=`printf "%d" 0x${PRODUCT#*?/}`
- *
- * PARAM_PATH=/sys/module/ti_usb_3410_5052/parameters
- *
- * function scan() {
- * 	s=$1
- * 	shift
- * 	for i
- * 	do
- * 		if [[ $s -eq $i ]]
- * 		then
- * ...
Previous thread: USB: add 5372:2303 to pl2303 by Linux Kernel Mailing List on Wednesday, December 17, 2008 - 4:59 pm. (1 message)

Next thread: USB: pl2303: add id for Hewlett-Packard LD220-HP POS pole display by Linux Kernel Mailing List on Wednesday, December 17, 2008 - 4:59 pm. (1 message)