diff options
author | 2011-01-25 20:03:35 +0000 | |
---|---|---|
committer | 2011-01-25 20:03:35 +0000 | |
commit | 0036ea2d1806ab014533b49d25d9fbdde380400e (patch) | |
tree | b9ab38f34f0a65c8eaea6640215a6a79c0d12cba /sys/dev/usb/usbdi.h | |
parent | Don't ignore copyout() return value in sys_thrsleep(). (diff) | |
download | wireguard-openbsd-0036ea2d1806ab014533b49d25d9fbdde380400e.tar.xz wireguard-openbsd-0036ea2d1806ab014533b49d25d9fbdde380400e.zip |
garbage collect "usb events". without /dev/usb there is no way to access
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r-- | sys/dev/usb/usbdi.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index 0dd722f33ff..5a990d38fa3 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.h,v 1.38 2011/01/16 22:35:29 jakemsr Exp $ */ +/* $OpenBSD: usbdi.h,v 1.39 2011/01/25 20:03:36 jakemsr 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 $ */ @@ -151,9 +151,6 @@ void usbd_set_polling(usbd_device_handle iface, int on); const char *usbd_errstr(usbd_status err); -void usbd_add_dev_event(int, usbd_device_handle); -void usbd_add_drv_event(int, usbd_device_handle, struct device *); - char *usbd_devinfo_alloc(usbd_device_handle dev, int showclass); void usbd_devinfo_free(char *devinfop); @@ -185,8 +182,8 @@ void usb_desc_iter_init(usbd_device_handle, usbd_desc_iter_t *); const usb_descriptor_t *usb_desc_iter_next(usbd_desc_iter_t *); /* - * The usb_task structs form a queue of things to run in the USB event - * thread. Normally this is just device discovery when a connect/disconnect + * The usb_task structs form a queue of things to run in the USB task + * threads. Normally this is just device discovery when a connect/disconnect * has been detected. But it may also be used by drivers that need to * perform (short) tasks that must have a process context. */ |