[PATCH] visor: Add Zire 31 device ID

Linux Kernel Mailing List <[email protected]> Tue, 05 Apr 2005 14:08:03 +0000
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1492.1.3, 2005/04/05 11:08:03-03:00, [email protected]

	[PATCH] visor: Add Zire 31 device ID
	
	On Fri, 01 Apr 2005 13:52:25 +0100 Daniel Drake <[email protected]> wrote:
	
	> This adds support for the Zire 31 devices to the visor driver. This ID is
	> already present in Linux 2.6
	
	Daniel, thank you for the patch, it seems fine. I have it in RHEL 3 U5.
	I didn't post it before because I thought nobody cared about enhancements
	to 2.4 anymore except enterprise users with legacy hardware. Knowing
	Marcelo though, I expect this to be bumped to 2.4.31.



 visor.c |    2 ++
 visor.h |    1 +
 2 files changed, 3 insertions(+)


diff -Nru a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
--- a/drivers/usb/serial/visor.c	2005-04-05 13:03:04 -07:00
+++ b/drivers/usb/serial/visor.c	2005-04-05 13:03:04 -07:00
@@ -206,6 +206,7 @@
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_M130_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_T_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_Z_ID) },
+	{ USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE31_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE_ID) },
 	{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_0_ID) },
 	{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_S360_ID) },
@@ -243,6 +244,7 @@
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_M130_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_T_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_Z_ID) },
+	{ USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE31_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE_ID) },
 	{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_3_5_ID) },
 	{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_0_ID) },
diff -Nru a/drivers/usb/serial/visor.h b/drivers/usb/serial/visor.h
--- a/drivers/usb/serial/visor.h	2005-04-05 13:03:04 -07:00
+++ b/drivers/usb/serial/visor.h	2005-04-05 13:03:04 -07:00
@@ -31,6 +31,7 @@
 #define PALM_M130_ID			0x0050
 #define PALM_TUNGSTEN_T_ID		0x0060
 #define PALM_TUNGSTEN_Z_ID		0x0031
+#define PALM_ZIRE31_ID			0x0061
 #define PALM_ZIRE_ID			0x0070
 #define PALM_M100_ID			0x0080