From owner-svn-src-all@FreeBSD.ORG Mon Jan 26 17:45:50 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52E710656BE; Mon, 26 Jan 2009 17:45:50 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A10378FC1A; Mon, 26 Jan 2009 17:45:50 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0QHjoUw057570; Mon, 26 Jan 2009 17:45:50 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0QHjomp057569; Mon, 26 Jan 2009 17:45:50 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200901261745.n0QHjomp057569@svn.freebsd.org> From: Andrew Thompson Date: Mon, 26 Jan 2009 17:45:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187727 - head/sys/dev/usb2/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 17:45:52 -0000 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)