Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add another product. From OpenBSD.
details: https://anonhg.NetBSD.org/src/rev/4aacb47992ad
branches: trunk
changeset: 555622:4aacb47992ad
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Nov 23 18:17:58 2003 +0000
description:
Add another product. From OpenBSD.
diffstat:
sys/dev/usb/uftdi.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 155a0f2d29e3 -r 4aacb47992ad sys/dev/usb/uftdi.c
--- a/sys/dev/usb/uftdi.c Sun Nov 23 18:16:25 2003 +0000
+++ b/sys/dev/usb/uftdi.c Sun Nov 23 18:17:58 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uftdi.c,v 1.16 2003/10/28 23:40:27 mycroft Exp $ */
+/* $NetBSD: uftdi.c,v 1.17 2003/11/23 18:17:58 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.16 2003/10/28 23:40:27 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.17 2003/11/23 18:17:58 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -138,7 +138,8 @@
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_LK202_24_USB))
return (UMATCH_VENDOR_PRODUCT);
return (UMATCH_NONE);
@@ -194,6 +195,11 @@
sc->sc_hdrlen = 0;
break;
+ case USB_PRODUCT_FTDI_LCD_LK202_24_USB:
+ sc->sc_type = UFTDI_TYPE_8U232AM;
+ sc->sc_hdrlen = 0;
+ break;
+
default: /* Can't happen */
goto bad;
}
Home |
Main Index |
Thread Index |
Old Index