diff options
author | 2014-07-09 15:47:54 +0000 | |
---|---|---|
committer | 2014-07-09 15:47:54 +0000 | |
commit | 890c91c751fe1212a24b1a585d4f3ef97e810618 (patch) | |
tree | d9f3062c79141205f7ae41ed227b8f4a60d39f3b /sys/dev/usb/usbdi_util.h | |
parent | use explicit_bzero for stack and freed variables (diff) | |
download | wireguard-openbsd-890c91c751fe1212a24b1a585d4f3ef97e810618.tar.xz wireguard-openbsd-890c91c751fe1212a24b1a585d4f3ef97e810618.zip |
Adds an optional bus function to set the address of a new device and
explicitly set it when required.
Right now xhci(4) does not need such function because it assigns
addresses when the first pipe of a device is opened.
ok yuo@, pirofti@
Diffstat (limited to 'sys/dev/usb/usbdi_util.h')
-rw-r--r-- | sys/dev/usb/usbdi_util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi_util.h b/sys/dev/usb/usbdi_util.h index f33b0dcbfe5..b79622a6a90 100644 --- a/sys/dev/usb/usbdi_util.h +++ b/sys/dev/usb/usbdi_util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi_util.h,v 1.25 2014/04/24 09:40:28 mpi Exp $ */ +/* $OpenBSD: usbdi_util.h,v 1.26 2014/07/09 15:47:54 mpi Exp $ */ /* $NetBSD: usbdi_util.h,v 1.28 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi_util.h,v 1.9 1999/11/17 22:33:50 n_hibma Exp $ */ @@ -34,7 +34,6 @@ usbd_status usbd_get_desc(struct usbd_device *dev, int type, int index, int len, void *desc); -usbd_status usbd_set_address(struct usbd_device *dev, int addr); usbd_status usbd_get_port_status(struct usbd_device *, int, usb_port_status_t *); usbd_status usbd_set_hub_feature(struct usbd_device *dev, int); |