usb_bus.h (193074) | usb_bus.h (194230) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 193074 2009-05-30 00:22:57Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 194230 2009-06-15 01:09:19Z 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. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 | 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. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 |
27#ifndef _USB2_BUS_H_ 28#define _USB2_BUS_H_ | 27#ifndef _USB_BUS_H_ 28#define _USB_BUS_H_ |
29 30/* 31 * The following structure defines the USB explore message sent to the USB 32 * explore process. 33 */ 34 35struct usb_bus_msg { 36 struct usb_proc_msg hdr; --- 63 unchanged lines hidden (view full) --- 100 101 union { 102 struct usb_hw_ep_scratch hw_ep_scratch[1]; 103 struct usb_temp_setup temp_setup[1]; 104 uint8_t data[128]; 105 } scratch[1]; 106}; 107 | 29 30/* 31 * The following structure defines the USB explore message sent to the USB 32 * explore process. 33 */ 34 35struct usb_bus_msg { 36 struct usb_proc_msg hdr; --- 63 unchanged lines hidden (view full) --- 100 101 union { 102 struct usb_hw_ep_scratch hw_ep_scratch[1]; 103 struct usb_temp_setup temp_setup[1]; 104 uint8_t data[128]; 105 } scratch[1]; 106}; 107 |
108#endif /* _USB2_BUS_H_ */ | 108#endif /* _USB_BUS_H_ */ |