Deleted Added
full compact
usb_device.h (193045) usb_device.h (193074)
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 193045 2009-05-29 18:46:57Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 193074 2009-05-30 00:22:57Z 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.

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

135};
136
137/*
138 * The following structure is used for power-save purposes. The data
139 * in this structure is protected by the USB BUS lock.
140 */
141struct usb_power_save {
142 usb_ticks_t last_xfer_time; /* copy of "ticks" */
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.

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

135};
136
137/*
138 * The following structure is used for power-save purposes. The data
139 * in this structure is protected by the USB BUS lock.
140 */
141struct usb_power_save {
142 usb_ticks_t last_xfer_time; /* copy of "ticks" */
143 size_t type_refs[4]; /* transfer reference count */
144 size_t read_refs; /* data read references */
145 size_t write_refs; /* data write references */
143 usb_size_t type_refs[4]; /* transfer reference count */
144 usb_size_t read_refs; /* data read references */
145 usb_size_t write_refs; /* data write references */
146};
147
148/*
149 * The following structure defines an USB device. There exists one of
150 * these structures for every USB device.
151 */
152struct usb_device {
153 struct usb_clear_stall_msg cs_msg[2]; /* generic clear stall

--- 106 unchanged lines hidden ---
146};
147
148/*
149 * The following structure defines an USB device. There exists one of
150 * these structures for every USB device.
151 */
152struct usb_device {
153 struct usb_clear_stall_msg cs_msg[2]; /* generic clear stall

--- 106 unchanged lines hidden ---