diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-19 23:43:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-19 23:43:02 -0700 |
| commit | 52c1861dbef8f1bba5c0b1d78cbba749d82d33f9 (patch) | |
| tree | 46518323bd491b01d3033426b65cb3c2d4d16115 /usb.current | |
| parent | 90f4032259a4088b1468f51e4d4618f50c37f868 (diff) | |
| download | patches-52c1861dbef8f1bba5c0b1d78cbba749d82d33f9.tar.gz | |
remove aten2011 driver, as it's not needed at all.
Diffstat (limited to 'usb.current')
| -rw-r--r-- | usb.current/usb-aten-uc2324-is-really-a-moschip-7840.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/usb.current/usb-aten-uc2324-is-really-a-moschip-7840.patch b/usb.current/usb-aten-uc2324-is-really-a-moschip-7840.patch new file mode 100644 index 00000000000000..3b2a63afdb6408 --- /dev/null +++ b/usb.current/usb-aten-uc2324-is-really-a-moschip-7840.patch @@ -0,0 +1,80 @@ +From gsview@ghostgum.com.au Sun Jul 19 23:34:00 2009 +From: Russell Lang <gsview@ghostgum.com.au> +Date: Fri, 17 Jul 2009 19:29:20 +1000 +Subject: USB: aten uc2324 is really a moschip 7840 +To: Greg KH <gregkh@suse.de> +Message-ID: <4A60D110.31377.693E58F1@gsview.ghostgum.com.au> + + +I've opened up the case, and the chips in the ATEN UC2324 are: + +Moschip +MCS7840CV-AA +69507-6B1 +0650 +(USB to 4-port serial) + +(logo with AF kerned together) 0748 +24BC02 +SINGLP +(unknown 8-pin chip) + +(logo looks like 3 or Z in circle) +ZT3243LEEA 0752 +B7A16420.T +(4 chips, so this will be RS232 line driver) +(Probably equivalent of Sipex SP3243) + +So the ATEN 2324 (aten2011.c driver), is definitely the Moschip 7840, +and should use the mos7840.c driver. I expect you will remove the +aten2011.c driver from the staging area. + +From the aten2011.c source code, the device ID for the UC2322 (2 port +serial) is 0x7820, just like the Moschip evaluation board. This value +should be added to the device id table of mos7840.c. + +Here's a patch that adds these devices to the driver. + + +From: Russell Lang <gsview@ghostgum.com.au> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + + +--- + drivers/usb/serial/mos7840.c | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +--- a/drivers/usb/serial/mos7840.c ++++ b/drivers/usb/serial/mos7840.c +@@ -124,10 +124,13 @@ + #define BANDB_DEVICE_ID_USOPTL4_4 0xAC44 + #define BANDB_DEVICE_ID_USOPTL4_2 0xAC42 + +-/* This driver also supports the ATEN UC2324 device since it is mos7840 based +- * - if I knew the device id it would also support the ATEN UC2322 */ ++/* This driver also supports ++ * ATEN UC2324 device using Moschip MCS7840 ++ * ATEN UC2322 device using Moschip MCS7820 ++ */ + #define USB_VENDOR_ID_ATENINTL 0x0557 + #define ATENINTL_DEVICE_ID_UC2324 0x2011 ++#define ATENINTL_DEVICE_ID_UC2322 0x7820 + + /* Interrupt Routine Defines */ + +@@ -177,6 +180,7 @@ static struct usb_device_id moschip_port + {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, + {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, + {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, ++ {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, + {} /* terminating entry */ + }; + +@@ -186,6 +190,7 @@ static __devinitdata struct usb_device_i + {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, + {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, + {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, ++ {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, + {} /* terminating entry */ + }; + |
