Deleted Added
full compact
u3g.c (186730) u3g.c (187176)
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 *
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/usb2/serial/u3g2.c 186730 2009-01-04 00:12:01Z alfred $
19 * $FreeBSD: head/sys/dev/usb2/serial/u3g2.c 187176 2009-01-13 19:03:47Z 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 *

--- 11 unchanged lines hidden (view full) ---

39#include <dev/usb2/include/usb2_error.h>
40#include <dev/usb2/include/usb2_defs.h>
41
42#define USB_DEBUG_VAR u3g_debug
43
44#include <dev/usb2/core/usb2_core.h>
45#include <dev/usb2/core/usb2_debug.h>
46#include <dev/usb2/core/usb2_process.h>
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 *

--- 11 unchanged lines hidden (view full) ---

39#include <dev/usb2/include/usb2_error.h>
40#include <dev/usb2/include/usb2_defs.h>
41
42#define USB_DEBUG_VAR u3g_debug
43
44#include <dev/usb2/core/usb2_core.h>
45#include <dev/usb2/core/usb2_debug.h>
46#include <dev/usb2/core/usb2_process.h>
47#include <dev/usb2/core/usb2_config_td.h>
48#include <dev/usb2/core/usb2_request.h>
49#include <dev/usb2/core/usb2_lookup.h>
50#include <dev/usb2/core/usb2_util.h>
51#include <dev/usb2/core/usb2_busdma.h>
52#include <dev/usb2/core/usb2_msctest.h>
53#include <dev/usb2/core/usb2_dynamic.h>
54#include <dev/usb2/core/usb2_device.h>
55

--- 470 unchanged lines hidden ---
47#include <dev/usb2/core/usb2_request.h>
48#include <dev/usb2/core/usb2_lookup.h>
49#include <dev/usb2/core/usb2_util.h>
50#include <dev/usb2/core/usb2_busdma.h>
51#include <dev/usb2/core/usb2_msctest.h>
52#include <dev/usb2/core/usb2_dynamic.h>
53#include <dev/usb2/core/usb2_device.h>
54

--- 470 unchanged lines hidden ---