From owner-svn-src-head@FreeBSD.ORG Mon Mar 23 19:10:38 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A48AE106566B; Mon, 23 Mar 2009 19:10:38 +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 92EB38FC13; Mon, 23 Mar 2009 19:10:38 +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 n2NJAci4018111; Mon, 23 Mar 2009 19:10:38 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2NJAcv6018110; Mon, 23 Mar 2009 19:10:38 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200903231910.n2NJAcv6018110@svn.freebsd.org> From: Andrew Thompson Date: Mon, 23 Mar 2009 19:10:38 +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: r190328 - head/sys/dev/usb X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 19:10:40 -0000 Author: thompsa Date: Mon Mar 23 19:10:38 2009 New Revision: 190328 URL: http://svn.freebsd.org/changeset/base/190328 Log: Fix order of debug printf items, addr and config# were swapped. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c ============================================================================== --- head/sys/dev/usb/usb_device.c Mon Mar 23 18:13:18 2009 (r190327) +++ head/sys/dev/usb/usb_device.c Mon Mar 23 19:10:38 2009 (r190328) @@ -628,7 +628,7 @@ usb2_set_config_index(struct usb2_device DPRINTF("udev=%p cdesc=%p (addr %d) cno=%d attr=0x%02x, " "selfpowered=%d, power=%d\n", udev, cdp, - cdp->bConfigurationValue, udev->address, cdp->bmAttributes, + udev->address, cdp->bConfigurationValue, cdp->bmAttributes, selfpowered, cdp->bMaxPower * 2); /* Check if we have enough power. */