xHCI: report USB3.0 portstatus comply with USB3.0 specification
authorAndiry Xu <andiry.xu@amd.com>
Wed, 27 Apr 2011 10:07:43 +0000 (18:07 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 May 2011 23:42:53 +0000 (16:42 -0700)
commit0ed9a57e052a3d20df052a2ff12a3b42380867aa
tree3e9f2abb102045cbd162a7ebe8563d4e9ee47148
parent2c44178032b046c4113c40d0d459a0d36e39b920
xHCI: report USB3.0 portstatus comply with USB3.0 specification

USB3.0 specification has different wPortStatus and wPortChange definitions
from USB2.0 specification. Since USB3 root hub and USB2 root hub are split
now and USB3 hub only has USB3 protocol ports, we should modify the
portstatus and portchange report of USB3 ports to comply with USB3.0
specification.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hub.c
drivers/usb/host/xhci-hub.c