From owner-svn-src-all@FreeBSD.ORG Thu Oct 14 21:14:33 2010 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 732B5106566B; Thu, 14 Oct 2010 21:14:33 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 619928FC14; Thu, 14 Oct 2010 21:14:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9ELEXr2037410; Thu, 14 Oct 2010 21:14:33 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9ELEXeH037408; Thu, 14 Oct 2010 21:14:33 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201010142114.o9ELEXeH037408@svn.freebsd.org> From: Hans Petter Selasky Date: Thu, 14 Oct 2010 21:14:33 +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: r213857 - head/sys/dev/usb/controller 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: Thu, 14 Oct 2010 21:14:33 -0000 Author: hselasky Date: Thu Oct 14 21:14:33 2010 New Revision: 213857 URL: http://svn.freebsd.org/changeset/base/213857 Log: Correct EHCI port register read. Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/usb/controller/ehci.c ============================================================================== --- head/sys/dev/usb/controller/ehci.c Thu Oct 14 21:09:37 2010 (r213856) +++ head/sys/dev/usb/controller/ehci.c Thu Oct 14 21:14:33 2010 (r213857) @@ -3318,7 +3318,7 @@ ehci_roothub_exec(struct usb_device *ude err = USB_ERR_IOERROR; goto done; } - v = EOREAD4(sc, EHCI_HCSPARAMS); + v = EREAD4(sc, EHCI_HCSPARAMS); sc->sc_hub_desc.hubd = ehci_hubd; sc->sc_hub_desc.hubd.bNbrPorts = sc->sc_noport;