summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2013-04-08 10:34:20 +0000
committermglocker <mglocker@openbsd.org>2013-04-08 10:34:20 +0000
commit73bc470a8d40580eff76bead4a9519a1af8f5b4b (patch)
tree2e102239d77702761e3cc93cee0e8e7338afc02d /sys/dev/usb/usbdi.h
parentexpand instructions for manually configuring the MBR. (diff)
downloadwireguard-openbsd-73bc470a8d40580eff76bead4a9519a1af8f5b4b.tar.xz
wireguard-openbsd-73bc470a8d40580eff76bead4a9519a1af8f5b4b.zip
Add new ioctl's USB_DEVICE_GET_CDESC and USB_DEVICE_GET_FDESC to usb(4).
Those are the equivalents for ugen(4)'s USB_GET_CONFIG_DESC and USB_GET_FULL_DESC. Help and OK mpi@, jmc@
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 0440d55370d..913ec2868be 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.h,v 1.43 2013/04/01 19:49:53 mglocker Exp $ */
+/* $OpenBSD: usbdi.h,v 1.44 2013/04/08 10:34:20 mglocker Exp $ */
/* $NetBSD: usbdi.h,v 1.62 2002/07/11 21:14:35 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.h,v 1.18 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -140,6 +140,8 @@ int usbd_get_no_alts(usb_config_descriptor_t *, int);
usbd_status usbd_get_interface(usbd_interface_handle iface, u_int8_t *aiface);
void usbd_fill_deviceinfo(usbd_device_handle, struct usb_device_info *, int);
void usbd_fill_di_task(void *);
+void usbd_fill_udc_task(void *);
+void usbd_fill_udf_task(void *);
usb_config_descriptor_t *usbd_get_cdesc(usbd_device_handle, int, int *);
int usbd_get_interface_altindex(usbd_interface_handle iface);