diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-08 22:00:12 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-08 22:00:12 +0000 |
commit | 15597f04fecae014794bd338a6e30c2e34170520 (patch) | |
tree | 526a59f440817bba29904c352b7b51a490ef5355 /sys/dev/usb/usbdi_util.h | |
parent | d7edece7836d07cc377b32d8719f30d77c0a47ab (diff) |
Deprecate usb_*_report(). USB HID devices are always attached below
an uhidev(4) on OpenBSD and there is not point in rerolling your own
reportID handling. Simply use uhidev_*_report().
This is a first step towards better error handling required to deal
with broken upd(4) firmwares.
Tested by David Higgs.
Diffstat (limited to 'sys/dev/usb/usbdi_util.h')
-rw-r--r-- | sys/dev/usb/usbdi_util.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/usbdi_util.h b/sys/dev/usb/usbdi_util.h index 9b0c4c3d1b9..81a468503b4 100644 --- a/sys/dev/usb/usbdi_util.h +++ b/sys/dev/usb/usbdi_util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi_util.h,v 1.28 2014/11/07 13:56:29 mpi Exp $ */ +/* $OpenBSD: usbdi_util.h,v 1.29 2014/12/08 22:00:11 mpi Exp $ */ /* $NetBSD: usbdi_util.h,v 1.28 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi_util.h,v 1.9 1999/11/17 22:33:50 n_hibma Exp $ */ @@ -49,12 +49,6 @@ usbd_status usbd_get_hub_ss_descriptor(struct usbd_device *, usb_hub_ss_descriptor_t *, uint8_t); struct usb_hid_descriptor *usbd_get_hid_descriptor(struct usbd_device *, usb_interface_descriptor_t *); -usbd_status usbd_get_report(struct usbd_device *, int, int, int, void *, - int); -usbd_status usbd_set_report(struct usbd_device *, int, int, int, void *, - int); -usbd_status usbd_set_report_async(struct usbd_device *, int, int, int, - void *, int); usbd_status usbd_set_idle(struct usbd_device *, int, int, int); usbd_status usbd_get_report_descriptor(struct usbd_device *, int, void *, int); |