diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-03-04 11:32:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:31 -0400 |
commit | 288ead45fa6637e959015d055304f521cbbc0575 (patch) | |
tree | b150572e95760f26f905802269b3a76da0260976 /drivers/usb/host/oxu210hp-hcd.c | |
parent | 45f30e0bdadd4660383250e85b543b0bea05413d (diff) |
USB: remove bogus USB_PORT_FEAT_*_SPEED symbols
This patch (as1348) removes the bogus
USB_PORT_FEAT_{HIGHSPEED,SUPERSPEED} symbols from ch11.h. No such
features are defined by the USB spec. (There is a PORT_LOWSPEED
feature, but the spec doesn't mention it except to say that host
software should never use it.) The speed indicators are port
statuses, not port features.
As a temporary workaround for the xhci-hcd driver, a fictional
USB_PORT_STAT_SUPER_SPEED symbol is added.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/oxu210hp-hcd.c')
-rw-r--r-- | drivers/usb/host/oxu210hp-hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index 2891203200ce..8f04c0afa59f 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -3153,10 +3153,10 @@ static inline unsigned int oxu_port_speed(struct oxu_hcd *oxu, | |||
3153 | case 0: | 3153 | case 0: |
3154 | return 0; | 3154 | return 0; |
3155 | case 1: | 3155 | case 1: |
3156 | return 1 << USB_PORT_FEAT_LOWSPEED; | 3156 | return USB_PORT_STAT_LOW_SPEED; |
3157 | case 2: | 3157 | case 2: |
3158 | default: | 3158 | default: |
3159 | return 1 << USB_PORT_FEAT_HIGHSPEED; | 3159 | return USB_PORT_STAT_HIGH_SPEED; |
3160 | } | 3160 | } |
3161 | } | 3161 | } |
3162 | 3162 | ||