Skip to contentSkip to conversation

UPDATED ipaq usbserial driver

PATCH Ian Molton 1 participant 1 message Jan 5, 2003

Subsystems (2)
lore
Share & tools
lore

Ian Molton

author
#0 lore raw

This adds support for the toshiba e740 PDA to the ipaq driver. please apply.

drivers/usb/serial/ipaq.c +6 -2
diff -urN linux-2.4.20/drivers/usb/serial/ipaq.c linux-2.4.21-pre2/drivers/usb/serial/ipaq.c
@@ -9,7 +9,10 @@
  *	the Free Software Foundation; either version 2 of the License, or
  *	(at your option) any later version.
  *
- * (26/11/2002) ganesh
+ * (05/01/2003) Ian Molton
+ *      Added toshiba vedor id and product id for the e740
+ *
+ * (26/11/2003) ganesh
  * 	Added insmod options to specify product and vendor id.
  * 	Use modprobe ipaq vendor=0xfoo product=0xbar
  *
@@ -70,7 +73,7 @@
 
 #define DRIVER_VERSION "v0.4"
 #define DRIVER_AUTHOR "Ganesh Varadarajan <[email protected]>"
-#define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500 driver"
+#define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500, Toshiba e740 driver"
 
 static int	product, vendor;
 
@@ -98,6 +101,7 @@
 	{ USB_DEVICE(HP_VENDOR_ID, HP_JORNADA_548_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_JORNADA_568_ID) },
 	{ USB_DEVICE(CASIO_VENDOR_ID, CASIO_EM500_ID) },
+	{ USB_DEVICE(TOSHIBA_VENDOR_ID, TOSHIBA_E740_ID) },
 	{ }					/* Terminating entry */
 };
 
drivers/usb/serial/ipaq.h +3 -0
diff -urN linux-2.4.20/drivers/usb/serial/ipaq.h linux-2.4.21-pre2/drivers/usb/serial/ipaq.h
@@ -26,6 +26,9 @@
 #define CASIO_VENDOR_ID		0x07cf
 #define CASIO_EM500_ID		0x2002
 
+#define TOSHIBA_VENDOR_ID	0x0930
+#define TOSHIBA_E740_ID		0x0706
+
 /*
  * Since we can't queue our bulk write urbs (don't know why - it just
  * doesn't work), we can send down only one write urb at a time. The simplistic