1/* $NetBSD: uftdi.c,v 1.13 2002/09/23 05:51:23 simonb Exp $ */ 2 3/*- 4 * Copyright (c) 2000 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Lennart Augustsson (lennart@augustsson.net). --- 16 unchanged lines hidden (view full) --- 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uftdi.c 212122 2010-09-01 23:47:53Z thompsa $"); |
34 35/* 36 * NOTE: all function names beginning like "uftdi_cfg_" can only 37 * be called from within the config thread function ! 38 */ 39 40/* 41 * FTDI FT8U100AX serial adapter driver --- 158 unchanged lines hidden (view full) --- 200 .name = "uftdi", 201 .methods = uftdi_methods, 202 .size = sizeof(struct uftdi_softc), 203}; 204 205DRIVER_MODULE(uftdi, uhub, uftdi_driver, uftdi_devclass, NULL, 0); 206MODULE_DEPEND(uftdi, ucom, 1, 1, 1); 207MODULE_DEPEND(uftdi, usb, 1, 1, 1); |
208MODULE_VERSION(uftdi, 1); |
209 210static struct usb_device_id uftdi_devs[] = { 211#define UFTDI_DEV(v,p,t) \ 212 { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, UFTDI_TYPE_##t) } 213 UFTDI_DEV(ATMEL, STK541, 8U232AM), 214 UFTDI_DEV(DRESDENELEKTRONIK, SENSORTERMINALBOARD, 8U232AM), 215 UFTDI_DEV(DRESDENELEKTRONIK, WIRELESSHANDHELDTERMINAL, 8U232AM), 216 UFTDI_DEV(FTDI, GAMMASCOUT, 8U232AM), --- 606 unchanged lines hidden --- |