Deleted Added
full compact
usb_device.h (267240) usb_device.h (277136)
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 267240 2014-06-08 20:10:29Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/usb_device.h 277136 2015-01-13 16:37:43Z hselasky $ */
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.

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

288struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
289 struct usb_device *parent_hub, uint8_t depth,
290 uint8_t port_index, uint8_t port_no,
291 enum usb_dev_speed speed, enum usb_hc_mode mode);
292#if USB_HAVE_UGEN
293struct usb_fs_privdata *usb_make_dev(struct usb_device *, const char *,
294 int, int, int, uid_t, gid_t, int);
295void usb_destroy_dev(struct usb_fs_privdata *);
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.

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

288struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
289 struct usb_device *parent_hub, uint8_t depth,
290 uint8_t port_index, uint8_t port_no,
291 enum usb_dev_speed speed, enum usb_hc_mode mode);
292#if USB_HAVE_UGEN
293struct usb_fs_privdata *usb_make_dev(struct usb_device *, const char *,
294 int, int, int, uid_t, gid_t, int);
295void usb_destroy_dev(struct usb_fs_privdata *);
296void usb_destroy_dev_sync(struct usb_fs_privdata *);
296#endif
297usb_error_t usb_probe_and_attach(struct usb_device *udev,
298 uint8_t iface_index);
299void usb_detach_device(struct usb_device *, uint8_t, uint8_t);
300usb_error_t usb_reset_iface_endpoints(struct usb_device *udev,
301 uint8_t iface_index);
302usb_error_t usbd_set_config_index(struct usb_device *udev, uint8_t index);
303usb_error_t usbd_set_endpoint_stall(struct usb_device *udev,

--- 24 unchanged lines hidden ---
297#endif
298usb_error_t usb_probe_and_attach(struct usb_device *udev,
299 uint8_t iface_index);
300void usb_detach_device(struct usb_device *, uint8_t, uint8_t);
301usb_error_t usb_reset_iface_endpoints(struct usb_device *udev,
302 uint8_t iface_index);
303usb_error_t usbd_set_config_index(struct usb_device *udev, uint8_t index);
304usb_error_t usbd_set_endpoint_stall(struct usb_device *udev,

--- 24 unchanged lines hidden ---