diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-10 12:01:10 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-10 12:01:10 -0800 |
commit | 3871c527fe1cef5a8a6a5cd4613e0f583307a4dc (patch) | |
tree | 6a78e052b29a2029ed37c9418a2e4c575687137e /usb | |
parent | 9ea31ab14e75cd05e8377979768d95eb036c8aaa (diff) | |
download | patches-3871c527fe1cef5a8a6a5cd4613e0f583307a4dc.tar.gz |
lots of new patches all over the place
Diffstat (limited to 'usb')
-rw-r--r-- | usb/usb-pl2303-added-support-for-ca-42-clone-cable.patch | 39 | ||||
-rw-r--r-- | usb/usb-touchkitusb.c-fix.patch | 30 |
2 files changed, 69 insertions, 0 deletions
diff --git a/usb/usb-pl2303-added-support-for-ca-42-clone-cable.patch b/usb/usb-pl2303-added-support-for-ca-42-clone-cable.patch new file mode 100644 index 00000000000000..dea2f94d92ece8 --- /dev/null +++ b/usb/usb-pl2303-added-support-for-ca-42-clone-cable.patch @@ -0,0 +1,39 @@ +From martin.gingras@gmail.com Mon Jan 9 09:40:38 2006 +Message-ID: <eb6a72270601090935l6f49bfaid93952975b7ee758@mail.gmail.com> +Date: Mon, 9 Jan 2006 12:35:41 -0500 +From: Martin Gingras <martin.gingras@gmail.com> +To: Greg KH <greg@kroah.com> +Subject: USB: pl2303: Added support for CA-42 clone cable + +Added support for CA-42 clone cable (www.ca-42.com) + +Signed-off-by: Martin Gingras <martin.gingras@gmail.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/usb/serial/pl2303.c | 3 ++- + drivers/usb/serial/pl2303.h | 4 ++++ + 2 files changed, 6 insertions(+), 1 deletion(-) + +--- gregkh-2.6.orig/drivers/usb/serial/pl2303.c ++++ gregkh-2.6/drivers/usb/serial/pl2303.c +@@ -75,7 +75,8 @@ static struct usb_device_id id_table [] + { USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_X65) }, + { USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_X75) }, + { USB_DEVICE(SYNTECH_VENDOR_ID, SYNTECH_PRODUCT_ID) }, +- { USB_DEVICE( NOKIA_CA42_VENDOR_ID, NOKIA_CA42_PRODUCT_ID ) }, ++ { USB_DEVICE(NOKIA_CA42_VENDOR_ID, NOKIA_CA42_PRODUCT_ID ) }, ++ { USB_DEVICE(CA_42_CA42_VENDOR_ID, CA_42_CA42_PRODUCT_ID ) }, + { } /* Terminating entry */ + }; + +--- gregkh-2.6.orig/drivers/usb/serial/pl2303.h ++++ gregkh-2.6/drivers/usb/serial/pl2303.h +@@ -64,3 +64,7 @@ + /* Nokia CA-42 Cable */ + #define NOKIA_CA42_VENDOR_ID 0x078b + #define NOKIA_CA42_PRODUCT_ID 0x1234 ++ ++/* CA-42 CLONE Cable www.ca-42.com chipset: Prolific Technology Inc */ ++#define CA_42_CA42_VENDOR_ID 0x10b5 ++#define CA_42_CA42_PRODUCT_ID 0xac70 diff --git a/usb/usb-touchkitusb.c-fix.patch b/usb/usb-touchkitusb.c-fix.patch new file mode 100644 index 00000000000000..3c2576cfd717b8 --- /dev/null +++ b/usb/usb-touchkitusb.c-fix.patch @@ -0,0 +1,30 @@ +From schindele@nentec.de Sun Jan 8 23:55:21 2006 +From: Juergen Schindele <schindele@nentec.de> +To: Greg KH <greg@kroah.com> +Subject: USB: touchkitusb.c (eGalax driver) fix +Date: Mon, 9 Jan 2006 08:51:48 +0100 +Message-Id: <200601090851.48435.schindele@nentec.de> + +This patch corrects the URB initialisation for transfers +like this is done in other drivers too. +Without this patch no data was transmitted on a PXA270 OHCI +platform. May apply to others too. + +Signed-off-by: Juergen Schindele <schindele@nentec.de> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> +--- + drivers/usb/input/touchkitusb.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- gregkh-2.6.orig/drivers/usb/input/touchkitusb.c ++++ gregkh-2.6/drivers/usb/input/touchkitusb.c +@@ -337,6 +337,9 @@ static int touchkit_probe(struct usb_int + touchkit->data, TOUCHKIT_REPORT_DATA_SIZE, + touchkit_irq, touchkit, endpoint->bInterval); + ++ touchkit->irq->transfer_dma = touchkit->data_dma; ++ touchkit->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; ++ + input_register_device(touchkit->input); + + usb_set_intfdata(intf, touchkit); |