Deleted Added
full compact
usb_device.h (190633) usb_device.h (190725)
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 190633 2009-04-01 20:23:47Z piso $ */
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 190725 2009-04-05 18:19:00Z thompsa $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

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

39
40/*
41 * The following structure defines an USB pipe which is equal to an
42 * USB endpoint.
43 */
44struct usb2_pipe {
45 struct usb2_xfer_queue pipe_q; /* queue of USB transfers */
46
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

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

39
40/*
41 * The following structure defines an USB pipe which is equal to an
42 * USB endpoint.
43 */
44struct usb2_pipe {
45 struct usb2_xfer_queue pipe_q; /* queue of USB transfers */
46
47 struct usb2_xfer *xfer_block; /* blocking USB transfer */
48 struct usb2_endpoint_descriptor *edesc;
49 struct usb2_pipe_methods *methods; /* set by HC driver */
50
51 uint16_t isoc_next;
52 uint16_t refcount;
53
54 uint8_t toggle_next:1; /* next data toggle value */
55 uint8_t is_stalled:1; /* set if pipe is stalled */

--- 144 unchanged lines hidden ---
47 struct usb2_endpoint_descriptor *edesc;
48 struct usb2_pipe_methods *methods; /* set by HC driver */
49
50 uint16_t isoc_next;
51 uint16_t refcount;
52
53 uint8_t toggle_next:1; /* next data toggle value */
54 uint8_t is_stalled:1; /* set if pipe is stalled */

--- 144 unchanged lines hidden ---