Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 08:44:17 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228493 - head/sys/dev/usb/controller
Message-ID:  <201112140844.pBE8iH87089801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Dec 14 08:44:16 2011
New Revision: 228493
URL: http://svn.freebsd.org/changeset/base/228493

Log:
  Fix definition of XHCI port power bit.
  
  Reported by:	Kohji Okuno
  MFC after:	3 days

Modified:
  head/sys/dev/usb/controller/xhcireg.h

Modified: head/sys/dev/usb/controller/xhcireg.h
==============================================================================
--- head/sys/dev/usb/controller/xhcireg.h	Wed Dec 14 08:35:08 2011	(r228492)
+++ head/sys/dev/usb/controller/xhcireg.h	Wed Dec 14 08:44:16 2011	(r228493)
@@ -115,7 +115,7 @@
 #define	XHCI_PS_PR		0x00000010	/* RW - port reset */
 #define	XHCI_PS_PLS_GET(x)	(((x) >> 5) & 0xF)	/* RW - port link state */
 #define	XHCI_PS_PLS_SET(x)	(((x) & 0xF) << 5)	/* RW - port link state */
-#define	XHCI_PS_PP		0x00000100	/* RW - port power */
+#define	XHCI_PS_PP		0x00000200	/* RW - port power */
 #define	XHCI_PS_SPEED_GET(x)	(((x) >> 10) & 0xF)	/* RO - port speed */
 #define	XHCI_PS_PIC_GET(x)	(((x) >> 14) & 0x3)	/* RW - port indicator */
 #define	XHCI_PS_PIC_SET(x)	(((x) & 0x3) << 14)	/* RW - port indicator */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112140844.pBE8iH87089801>