-/* $OpenBSD: uhidev.c,v 1.102 2021/11/22 03:30:20 jsg Exp $ */
+/* $OpenBSD: uhidev.c,v 1.103 2021/11/22 11:30:16 anton Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
uha.uaa = uaa;
uha.parent = sc;
- uha.reportid = __UHIDEV_CLAIM_MULTIPLE_REPORTID;
+ uha.reportid = 0;
uha.nreports = nrepid;
uha.claimed = malloc(nrepid, M_TEMP, M_WAITOK|M_ZERO);
if (pnp)
printf("uhid at %s", pnp);
- if (uha->reportid != 0 && uha->reportid != __UHIDEV_CLAIM_MULTIPLE_REPORTID)
+ if (uha->reportid != 0)
printf(" reportid %d", uha->reportid);
return (UNCONF);
}
-/* $OpenBSD: uhidev.h,v 1.39 2021/11/15 15:38:08 anton Exp $ */
+/* $OpenBSD: uhidev.h,v 1.40 2021/11/22 11:30:16 anton Exp $ */
/* $NetBSD: uhidev.h,v 1.3 2002/10/08 09:56:17 dan Exp $ */
/*
};
#define UHIDEV_CLAIM_MULTIPLE_REPORTID(u) ((u)->claimed != NULL)
-#define __UHIDEV_CLAIM_MULTIPLE_REPORTID 255 /* XXX */
int uhidev_report_type_conv(int);
void uhidev_get_report_desc(struct uhidev_softc *, void **, int *);