1/*
2 * Copyright (c) 2008 AnyWi Technologies
3 * Author: Andrea Guzzo <aguzzo@anywi.com>
4 * * based on uark.c 1.1 2006/08/14 08:30:22 jsg *
5 * * parts from ubsa.c 183348 2008-09-25 12:00:56Z phk *
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 *
19 * $FreeBSD: head/sys/dev/usb/serial/u3g.c 212122 2010-09-01 23:47:53Z thompsa $
20 */
21
22/*
23 * NOTE:
24 *
25 * - The detour through the tty layer is ridiculously expensive wrt
26 * buffering due to the high speeds.
27 *
--- 145 unchanged lines hidden (view full) ---
173 .name = "u3g",
174 .methods = u3g_methods,
175 .size = sizeof(struct u3g_softc),
176};
177
178DRIVER_MODULE(u3g, uhub, u3g_driver, u3g_devclass, u3g_driver_loaded, 0);
179MODULE_DEPEND(u3g, ucom, 1, 1, 1);
180MODULE_DEPEND(u3g, usb, 1, 1, 1);
181MODULE_VERSION(u3g, 1);
182
183static const struct usb_device_id u3g_devs[] = {
184#define U3G_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) }
185 U3G_DEV(ACERP, H10, 0),
186 U3G_DEV(AIRPLUS, MCD650, 0),
187 U3G_DEV(AIRPRIME, PC5220, 0),
188 U3G_DEV(ALINK, 3G, 0),
189 U3G_DEV(ALINK, 3GU, 0),
--- 747 unchanged lines hidden ---
2 * Copyright (c) 2008 AnyWi Technologies
3 * Author: Andrea Guzzo <aguzzo@anywi.com>
4 * * based on uark.c 1.1 2006/08/14 08:30:22 jsg *
5 * * parts from ubsa.c 183348 2008-09-25 12:00:56Z phk *
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 *
19 * $FreeBSD: head/sys/dev/usb/serial/u3g.c 212122 2010-09-01 23:47:53Z thompsa $
20 */
21
22/*
23 * NOTE:
24 *
25 * - The detour through the tty layer is ridiculously expensive wrt
26 * buffering due to the high speeds.
27 *
--- 145 unchanged lines hidden (view full) ---
173 .name = "u3g",
174 .methods = u3g_methods,
175 .size = sizeof(struct u3g_softc),
176};
177
178DRIVER_MODULE(u3g, uhub, u3g_driver, u3g_devclass, u3g_driver_loaded, 0);
179MODULE_DEPEND(u3g, ucom, 1, 1, 1);
180MODULE_DEPEND(u3g, usb, 1, 1, 1);
181MODULE_VERSION(u3g, 1);
182
183static const struct usb_device_id u3g_devs[] = {
184#define U3G_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) }
185 U3G_DEV(ACERP, H10, 0),
186 U3G_DEV(AIRPLUS, MCD650, 0),
187 U3G_DEV(AIRPRIME, PC5220, 0),
188 U3G_DEV(ALINK, 3G, 0),
189 U3G_DEV(ALINK, 3GU, 0),
--- 747 unchanged lines hidden ---