diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-12-06 21:00:19 -0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-03-13 18:23:50 -0700 |
commit | 131dec344d5e41f01e4791aa4c80eb4bdb1e5274 (patch) | |
tree | 5ec2e11acfa9f21a4aeb4137721786b2ea67cd83 /include/linux/usb | |
parent | c6cc27c782e3a64cced0fcf1d6f492c8d8881c76 (diff) | |
download | linux-stable-131dec344d5e41f01e4791aa4c80eb4bdb1e5274.tar.gz linux-stable-131dec344d5e41f01e4791aa4c80eb4bdb1e5274.tar.bz2 linux-stable-131dec344d5e41f01e4791aa4c80eb4bdb1e5274.zip |
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/ch11.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/ch11.h b/include/linux/usb/ch11.h index 22afcd37bc3f..4ebaf0824179 100644 --- a/include/linux/usb/ch11.h +++ b/include/linux/usb/ch11.h @@ -109,7 +109,6 @@ struct usb_port_status { #define USB_PORT_STAT_TEST 0x0800 #define USB_PORT_STAT_INDICATOR 0x1000 /* bits 13 to 15 are reserved */ -#define USB_PORT_STAT_SUPER_SPEED 0x8000 /* Linux-internal */ /* * Additions to wPortStatus bit field from USB 3.0 |