]> git.karo-electronics.de Git - linux-beck.git/commit
USB: Remove bogus USB_PORT_STAT_SUPER_SPEED symbol.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 7 Dec 2010 05:00:19 +0000 (21:00 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:23:50 +0000 (18:23 -0700)
commit131dec344d5e41f01e4791aa4c80eb4bdb1e5274
tree5ec2e11acfa9f21a4aeb4137721786b2ea67cd83
parentc6cc27c782e3a64cced0fcf1d6f492c8d8881c76
USB: Remove bogus USB_PORT_STAT_SUPER_SPEED symbol.

USB_PORT_STAT_SUPER_SPEED is a made up symbol that the USB core used to
track whether USB ports had a SuperSpeed device attached.  This is a
linux-internal symbol that was used when SuperSpeed and non-SuperSpeed
devices would show up under the same xHCI roothub.  This particular
port status is never returned by external USB 3.0 hubs.  (Instead they
have a USB_PORT_STAT_SPEED_5GBPS that uses a completely different speed
mask.)

Now that the xHCI driver registers two roothubs, USB 3.0 devices will only
show up under USB 3.0 hubs.  Rip out USB_PORT_STAT_SUPER_SPEED and replace
it with calls to hub_is_superspeed().

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hub.c
drivers/usb/host/xhci-hub.c
include/linux/usb/ch11.h