kernel-ark/include/linux/usb
Sarah Sharp d9f5343e35 USB: Remove duplicate USB 3.0 hub feature #defines.
Somehow we ended up with duplicate hub feature #defines in ch11.h.
Tatyana Brokhman first created the USB 3.0 hub feature macros in 2.6.38
with commit 0eadcc0920 "usb: USB3.0 ch11
definitions".  In 2.6.39, I modified a patch from John Youn that added
similar macros in a different place in the same file, and committed
dbe79bbe9d "USB 3.0 Hub Changes".

Some of the #defines used different names for the same values.  Others
used exactly the same names with the same values, like these gems:

 #define USB_PORT_FEAT_BH_PORT_RESET     28
...
 #define USB_PORT_FEAT_BH_PORT_RESET            28

According to my very geeky husband (who looked it up in the C99 spec),
it is allowed to have object-like macros with duplicate names as long as
the replacement list is exactly the same.  However, he recalled that
some compilers will give warnings when they find duplicate macros.  It's
probably best to remove the duplicates in the stable tree, so that the
code compiles for everyone.

The macros are now fixed to move the feature requests that are specific
to USB 3.0 hubs into a new section (out of the USB 2.0 hub feature
section), and use the most common macro name.

This patch should be backported to 2.6.39.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Tatyana Brokhman <tlinder@codeaurora.org>
Cc: John Youn <johnyoun@synopsys.com>
Cc: Jamey Sharp <jamey@minilop.net>
Cc: stable@vger.kernel.org
2012-02-10 14:24:31 -08:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc.h
ch9.h usb: ch9.h: usb_endpoint_maxp() uses __le16_to_cpu() 2012-02-01 15:56:19 -08:00
ch11.h USB: Remove duplicate USB 3.0 hub feature #defines. 2012-02-10 14:24:31 -08:00
composite.h usb: gadget: add SuperSpeed support to the Gadget Framework 2011-07-01 14:27:05 -07:00
ehci_def.h
functionfs.h
g_hid.h
g_printer.h
gadget.h usb: gadget: introduce support for sg lists 2011-12-21 13:24:44 +02:00
gadgetfs.h
gpio_vbus.h
hcd.h USB: Remove the SAW_IRQ hcd flag 2011-11-14 16:46:06 -08:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild USB: export video.h to the includes available for userspace 2011-09-23 23:07:26 -03:00
langwell_udc.h
m66592.h usb: gadget: m66592-udc: add function for external controller 2011-07-09 01:08:39 +03:00
midi.h
msm_hsusb_hw.h
msm_hsusb.h
musb.h
net2280.h
otg.h
quirks.h
r8a66597.h usb: gadget: r8a66597-udc: add support for SUDMAC 2011-10-13 20:38:39 +03:00
renesas_usbhs.h usb: gadget: renesas_usbhs: add platform power control function 2011-12-12 11:44:58 +02:00
rndis_host.h
serial.h USB: serial: add support for multiple read urbs 2011-11-15 10:46:13 -08:00
sl811.h
storage.h
tmc.h
ulpi.h
usbnet.h
video.h
wusb-wa.h
wusb.h