aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-12-07 00:00:19 -0500
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-03-13 21:23:50 -0400
commit131dec344d5e41f01e4791aa4c80eb4bdb1e5274 (patch)
tree5ec2e11acfa9f21a4aeb4137721786b2ea67cd83 /include/linux/usb
parentc6cc27c782e3a64cced0fcf1d6f492c8d8881c76 (diff)
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.h1
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 {
109#define USB_PORT_STAT_TEST 0x0800 109#define USB_PORT_STAT_TEST 0x0800
110#define USB_PORT_STAT_INDICATOR 0x1000 110#define USB_PORT_STAT_INDICATOR 0x1000
111/* bits 13 to 15 are reserved */ 111/* bits 13 to 15 are reserved */
112#define USB_PORT_STAT_SUPER_SPEED 0x8000 /* Linux-internal */
113 112
114/* 113/*
115 * Additions to wPortStatus bit field from USB 3.0 114 * Additions to wPortStatus bit field from USB 3.0