Date: Wed, 3 Nov 2010 15:31:37 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/pci pci.c src/sys/dev/usb/controller ehci.c ehcireg.h Message-ID: <201011042107.oA4L7KNO020583@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011042107.oA4L7KNO020583>