diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-09 16:54:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-09 16:54:37 +0000 |
commit | 9f16015f42e8264b0137831df50d054ba821e459 (patch) | |
tree | 489955c21322ac05cbf932add8763b6ce6c7beca /sys/dev/usb/uftdi.c | |
parent | 166a2e1658bc097fe1406e491200f9b6dac4604d (diff) |
support Crystalfontz CF-63[1234] USB LCDs; wpd@xs4all.nl
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r-- | sys/dev/usb/uftdi.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index 4128cee5c38..6bfff625e51 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uftdi.c,v 1.14 2003/12/08 15:26:22 henning Exp $ */ +/* $OpenBSD: uftdi.c,v 1.15 2004/04/09 16:54:35 deraadt Exp $ */ /* $NetBSD: uftdi.c,v 1.14 2003/02/23 04:20:07 simonb Exp $ */ /* @@ -138,8 +138,12 @@ 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_LCD_MX200_USB)) - return (UMATCH_VENDOR_PRODUCT); + uaa->product == USB_PRODUCT_FTDI_LCD_MX200_USB || + uaa->product == USB_PRODUCT_FTDI_LCD_CFA631_USB || + uaa->product == USB_PRODUCT_FTDI_LCD_CFA632_USB || + uaa->product == USB_PRODUCT_FTDI_LCD_CFA633_USB || + uaa->product == USB_PRODUCT_FTDI_LCD_CFA634_USB)) + return (UMATCH_VENDOR_PRODUCT); return (UMATCH_NONE); } @@ -192,6 +196,10 @@ USB_ATTACH(uftdi) case USB_PRODUCT_FTDI_SERIAL_8U232AM: case USB_PRODUCT_FTDI_LCD_LK202_24_USB: case USB_PRODUCT_FTDI_LCD_MX200_USB: + case USB_PRODUCT_FTDI_LCD_CFA631_USB: + case USB_PRODUCT_FTDI_LCD_CFA632_USB: + case USB_PRODUCT_FTDI_LCD_CFA633_USB: + case USB_PRODUCT_FTDI_LCD_CFA634_USB: sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; |