This does an import of quirk stubs, debugging macros from USB code and numerous usage constants used by dependent drivers.
Besides that, this change renames some function to get a better match with userland library and NetBSD/OpenBSD HID code.
- Old hid_report_size() renamed to hid_report_size_max()
- New hid_report_size() calculates size of given report rather than maximum size of all reports.
- hid_get_data_unsigned() renamed tp hid_get_udata()
- hid_put_data_unsigned() renamed to hid_put_udata()
Compatibility shims hidden under COMPAT_USBHID12 #define are provided in usbhid.h to make possible compiling of old code unmodified after this change.
The revision is subset of https://reviews.freebsd.org/D27777