diff options
author | 2015-01-09 12:07:50 +0000 | |
---|---|---|
committer | 2015-01-09 12:07:50 +0000 | |
commit | 3541a1e38c63c01fd011130e727a19efa30fd874 (patch) | |
tree | b31df6b4c1c46353cac9a810b2f554133b029174 /sys/dev/usb/uhidev.h | |
parent | document the chips we support. lots of raid controllers use them (diff) | |
download | wireguard-openbsd-3541a1e38c63c01fd011130e727a19efa30fd874.tar.xz wireguard-openbsd-3541a1e38c63c01fd011130e727a19efa30fd874.zip |
Add an asynchronous version of uhidev_get_report(), from David Higgs
with some tweaks.
Nothing use it for the moment, but upcoming upd(4) improvements need
it.
Diffstat (limited to 'sys/dev/usb/uhidev.h')
-rw-r--r-- | sys/dev/usb/uhidev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/uhidev.h b/sys/dev/usb/uhidev.h index 434cc76a1fb..ad00e8f8bf7 100644 --- a/sys/dev/usb/uhidev.h +++ b/sys/dev/usb/uhidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uhidev.h,v 1.21 2014/12/11 18:39:27 mpi Exp $ */ +/* $OpenBSD: uhidev.h,v 1.22 2015/01/09 12:07:50 mpi Exp $ */ /* $NetBSD: uhidev.h,v 1.3 2002/10/08 09:56:17 dan Exp $ */ /* @@ -91,4 +91,6 @@ int uhidev_ioctl(struct uhidev *, u_long, caddr_t, int, struct proc *); int uhidev_set_report(struct uhidev_softc *, int, int, void *, int); int uhidev_set_report_async(struct uhidev_softc *, int, int, void *, int); int uhidev_get_report(struct uhidev_softc *, int, int, void *, int); +int uhidev_get_report_async(struct uhidev_softc *, int, int, void *, int, + void *, void (*)(void *, int, void *, int)); usbd_status uhidev_write(struct uhidev_softc *, void *, int); |