svn commit: r187727 - head/sys/dev/usb2/include
Andrew Thompson
thompsa at FreeBSD.org
Mon Jan 26 09:45:52 PST 2009
Author: thompsa
Date: Mon Jan 26 17:45:50 2009
New Revision: 187727
URL: http://svn.freebsd.org/changeset/base/187727
Log:
Fix up USB_GET_REPORT_DESC ioctl.
Submitted by: daichi
Modified:
head/sys/dev/usb2/include/usb2_ioctl.h
Modified: head/sys/dev/usb2/include/usb2_ioctl.h
==============================================================================
--- head/sys/dev/usb2/include/usb2_ioctl.h Mon Jan 26 17:43:58 2009 (r187726)
+++ head/sys/dev/usb2/include/usb2_ioctl.h Mon Jan 26 17:45:50 2009 (r187727)
@@ -223,7 +223,7 @@ struct usb2_gen_quirk {
#define USB_DEVICEENUMERATE _IOW ('U', 6, int)
/* Generic HID device */
-#define USB_GET_REPORT_DESC _IOR ('U', 21, struct usb2_gen_descriptor)
+#define USB_GET_REPORT_DESC _IOWR('U', 21, struct usb2_gen_descriptor)
#define USB_SET_IMMED _IOW ('U', 22, int)
#define USB_GET_REPORT _IOWR('U', 23, struct usb2_gen_descriptor)
#define USB_SET_REPORT _IOW ('U', 24, struct usb2_gen_descriptor)
More information about the svn-src-head
mailing list