summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-28 01:03:19 +0000
committerjoe <joe@FreeBSD.org>2002-01-28 01:03:19 +0000
commit3311f87be611f7f1570cc4b728eeadceb9169eec (patch)
treec7820152b3d171d7820a328b8adc34c87a71de86 /sys/dev/usb/usbdi.h
parentdf86bfa3eb425548b26d69e069bc8e2d80e9e5c9 (diff)
downloadFreeBSD-src-3311f87be611f7f1570cc4b728eeadceb9169eec.zip
FreeBSD-src-3311f87be611f7f1570cc4b728eeadceb9169eec.tar.gz
Merge from NetBSD.
uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account.
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index bb5bfbf..7a184e7 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -176,7 +176,8 @@ void usbd_set_polling(usbd_interface_handle iface, int on);
const char *usbd_errstr(usbd_status err);
-void usbd_add_event(int, usbd_device_handle);
+void usbd_add_dev_event (int, usbd_device_handle);
+void usbd_add_drv_event (int, usbd_device_handle, device_ptr_t);
void usbd_devinfo(usbd_device_handle, int, char *);
const struct usbd_quirks *usbd_get_quirks(usbd_device_handle);
OpenPOWER on IntegriCloud