Fix definition of XHCI port power bit.

Reported by:	Kohji Okuno
MFC after:	3 days
This commit is contained in:
Hans Petter Selasky 2011-12-14 08:44:16 +00:00
parent e26e60ee36
commit 5f63a5d203
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228493

View File

@ -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 */