From owner-cvs-src-old@FreeBSD.ORG Thu Nov 4 21:07:20 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A1181065673 for ; Thu, 4 Nov 2010 21:07:20 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 666958FC13 for ; Thu, 4 Nov 2010 21:07:20 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA4L7K2v020584 for ; Thu, 4 Nov 2010 21:07:20 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA4L7KNO020583 for cvs-src-old@freebsd.org; Thu, 4 Nov 2010 21:07:20 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201011042107.oA4L7KNO020583@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Wed, 3 Nov 2010 15:31:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/pci pci.c src/sys/dev/usb/controller ehci.c ehcireg.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 21:07:20 -0000 nwhitehorn 2010-11-03 15:31:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/pci pci.c sys/dev/usb/controller ehci.c ehcireg.h Log: SVN rev 214745 on 2010-11-03 15:31:37Z by nwhitehorn MFC r214349: The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers within the first 4 bytes of the EHCI memory space. For controllers that use big-endian MMIO, reading them with 1- and 2-byte reads would then return the wrong values. Instead, read the combined register with a 4-byte read and mask out the interesting quantities. Requested by: marius Revision Changes Path 1.386.2.8 +1 -1 src/sys/dev/pci/pci.c 1.26.2.14 +2 -2 src/sys/dev/usb/controller/ehci.c 1.1.2.3 +7 -3 src/sys/dev/usb/controller/ehcireg.h