summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uftdi.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-08 15:26:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-08 15:26:23 +0000
commitb19ccf0ec89bf04fbede05d06c9dd01c0057dbc6 (patch)
treecb3d778fa7bc20c788416a203c971f6b9a481127 /sys/dev/usb/uftdi.c
parent58979d2a32f5729ec785c5bc621f3672430aae09 (diff)
Matrix Orbital MX200 Series
mostly From: nj@obsd.com
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r--sys/dev/usb/uftdi.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index b54c7174d74..4128cee5c38 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uftdi.c,v 1.13 2003/10/04 01:01:34 deraadt Exp $ */
+/* $OpenBSD: uftdi.c,v 1.14 2003/12/08 15:26:22 henning Exp $ */
/* $NetBSD: uftdi.c,v 1.14 2003/02/23 04:20:07 simonb Exp $ */
/*
@@ -137,7 +137,8 @@ USB_MATCH(uftdi)
if (uaa->vendor == USB_VENDOR_FTDI &&
(uaa->product == USB_PRODUCT_FTDI_SERIAL_8U100AX ||
- uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM))
+ uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM ||
+ uaa->product == USB_PRODUCT_FTDI_LCD_MX200_USB))
return (UMATCH_VENDOR_PRODUCT);
return (UMATCH_NONE);
@@ -189,11 +190,8 @@ USB_ATTACH(uftdi)
break;
case USB_PRODUCT_FTDI_SERIAL_8U232AM:
- sc->sc_type = UFTDI_TYPE_8U232AM;
- sc->sc_hdrlen = 0;
- break;
-
case USB_PRODUCT_FTDI_LCD_LK202_24_USB:
+ case USB_PRODUCT_FTDI_LCD_MX200_USB:
sc->sc_type = UFTDI_TYPE_8U232AM;
sc->sc_hdrlen = 0;
break;