summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_device.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-03-11 21:50:36 +0000
committerthompsa <thompsa@FreeBSD.org>2010-03-11 21:50:36 +0000
commitf4b85f2b66a6e50e956fde4bbe541d4b4076258e (patch)
tree987e600bb6e26a16646c0ac23b92a326e81e4975 /sys/dev/usb/usb_device.h
parent2d4cdf11542385d8643cba57871eed9486746461 (diff)
downloadFreeBSD-src-f4b85f2b66a6e50e956fde4bbe541d4b4076258e.zip
FreeBSD-src-f4b85f2b66a6e50e956fde4bbe541d4b4076258e.tar.gz
Implement USB kernel driver detach from userland.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_device.h')
-rw-r--r--sys/dev/usb/usb_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h
index 66f975a..3afdecf 100644
--- a/sys/dev/usb/usb_device.h
+++ b/sys/dev/usb/usb_device.h
@@ -196,6 +196,7 @@ struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
enum usb_dev_speed speed, enum usb_hc_mode mode);
usb_error_t usb_probe_and_attach(struct usb_device *udev,
uint8_t iface_index);
+void usb_detach_device(struct usb_device *, uint8_t, uint8_t);
usb_error_t usb_reset_iface_endpoints(struct usb_device *udev,
uint8_t iface_index);
usb_error_t usbd_set_config_index(struct usb_device *udev, uint8_t index);
OpenPOWER on IntegriCloud