usb_device.h (194228) | usb_device.h (194230) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 194228 2009-06-15 01:02:43Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_device.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_DEVICE_H_ 28#define _USB2_DEVICE_H_ | 27#ifndef _USB_DEVICE_H_ 28#define _USB_DEVICE_H_ |
29 30struct usb_symlink; /* UGEN */ 31struct usb_device; /* linux compat */ 32 33#define USB_DEFAULT_XFER_MAX 2 34 35/* "usb_parse_config()" commands */ 36 --- 214 unchanged lines hidden (view full) --- 251 uint8_t iface_index, uint8_t type, uint8_t type_mask, 252 uint8_t subtype, uint8_t subtype_mask); 253void usb_linux_free_device(struct usb_device *dev); 254uint8_t usb_peer_can_wakeup(struct usb_device *udev); 255struct usb_endpoint *usb_endpoint_foreach(struct usb_device *udev, struct usb_endpoint *ep); 256void usb_set_device_state(struct usb_device *udev, 257 enum usb_dev_state state); 258 | 29 30struct usb_symlink; /* UGEN */ 31struct usb_device; /* linux compat */ 32 33#define USB_DEFAULT_XFER_MAX 2 34 35/* "usb_parse_config()" commands */ 36 --- 214 unchanged lines hidden (view full) --- 251 uint8_t iface_index, uint8_t type, uint8_t type_mask, 252 uint8_t subtype, uint8_t subtype_mask); 253void usb_linux_free_device(struct usb_device *dev); 254uint8_t usb_peer_can_wakeup(struct usb_device *udev); 255struct usb_endpoint *usb_endpoint_foreach(struct usb_device *udev, struct usb_endpoint *ep); 256void usb_set_device_state(struct usb_device *udev, 257 enum usb_dev_state state); 258 |
259#endif /* _USB2_DEVICE_H_ */ | 259#endif /* _USB_DEVICE_H_ */ |