diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2021-10-30 11:56:20 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2021-10-30 11:56:20 +0000 |
commit | ded2ffd2be7c0af29c04c9a136586a380108c699 (patch) | |
tree | dc8b238be0eba8fb0f95c4a81e2aa04dc5ccc25f | |
parent | d68f9a71d10aea90671b13d8abe5e0e17938478b (diff) |
Revert previous commit as it's causing panic when devices are detached
ok sthen, anton
-rw-r--r-- | sys/dev/usb/uhidev.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhidev.h b/sys/dev/usb/uhidev.h index 84730ca3a81..6ce75b1f49d 100644 --- a/sys/dev/usb/uhidev.h +++ b/sys/dev/usb/uhidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uhidev.h,v 1.33 2021/10/29 15:43:55 anton Exp $ */ +/* $OpenBSD: uhidev.h,v 1.34 2021/10/30 11:56:19 ratchov Exp $ */ /* $NetBSD: uhidev.h,v 1.3 2002/10/08 09:56:17 dan Exp $ */ /* @@ -80,9 +80,9 @@ struct uhidev { struct uhidev_attach_arg { struct usb_attach_arg *uaa; struct uhidev_softc *parent; - u_int reportid; -#define UHIDEV_CLAIM_MULTIPLE_REPORTID 256 - u_int nreports; + uint8_t reportid; +#define UHIDEV_CLAIM_MULTIPLE_REPORTID 255 + uint8_t nreports; uint8_t *claimed; }; |