diff options
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r-- | sys/dev/usb/uftdi.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index 78f6567815a..d0fe7fc7c65 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uftdi.c,v 1.17 2004/08/13 22:13:55 deraadt Exp $ */ +/* $OpenBSD: uftdi.c,v 1.18 2004/10/30 14:36:28 deraadt Exp $ */ /* $NetBSD: uftdi.c,v 1.14 2003/02/23 04:20:07 simonb Exp $ */ /* @@ -154,6 +154,9 @@ USB_MATCH(uftdi) (uaa->product == USB_PRODUCT_INTREPIDCS_VALUECAN || uaa->product == USB_PRODUCT_INTREPIDCS_NEOVI)) return (UMATCH_VENDOR_PRODUCT); + if (uaa->vendor == USB_VENDOR_BBELECTRONICS && + (uaa->product == USB_PRODUCT_BBELECTRONICS_USOTL4)) + return (UMATCH_VENDOR_PRODUCT); return (UMATCH_NONE); } @@ -242,6 +245,18 @@ USB_ATTACH(uftdi) sc->sc_type = UFTDI_TYPE_8U232AM; sc->sc_hdrlen = 0; break; + + default: /* Can't happen */ + goto bad; + } + break; + + case USB_VENDOR_BBELECTRONICS: + switch( uaa->product ){ + case USB_PRODUCT_BBELECTRONICS_USOTL4: + sc->sc_type = UFTDI_TYPE_8U232AM; + sc->sc_hdrlen = 0; + break; default: /* Can't happen */ goto bad; } |