u-boot-brain/drivers
Tom Rix 8f8bd565f3 USB Consolidate descriptor definitions
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for

usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor

These are out right duplicates in usb.h

usb_device_descriptor
usb_string_descriptor

This one has extra unused elements

usb_endpoint_descriptor

	unsigned char	bRefresh
	unsigned char	bSynchAddress;

These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.

usb_config_descriptor
usb_interface_descriptor

The change is to consolidate the definition of the descriptors
to usbdescriptors.h.  The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.

So

usb_config_descriptor -> usb_config
usb_interface_descriptor -> usb_interface

For these, the common descriptor elements are accessed now
by an element 'desc'.

As an example

-	if (iface->bInterfaceClass != USB_CLASS_HUB)
+	if (iface->desc.bInterfaceClass != USB_CLASS_HUB)

This has been compile tested on MAKEALL arm, ppc and mips.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
2009-12-20 12:47:37 +01:00
..
bios_emulator Leave x86emu op code tables in default section 2009-10-12 23:34:06 +02:00
block Misc SATA fixups 2009-09-04 21:53:37 +02:00
dma ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
fpga fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
gpio Kirkwood: add Marvell Kirkwood gpio driver 2009-07-23 00:19:28 +02:00
hwmon Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
i2c Add a unified s3c24x0 header file 2009-11-27 16:26:13 -06:00
input License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
misc ppc/85xx: get_law_entry isn't used in CONFIG_NAND_SPL 2009-09-30 08:42:12 -05:00
mmc omap3_mmc: Encapsulate twl4030 under option CONFIG_TWL4030_POWER 2009-11-27 16:26:18 -06:00
mtd Merge branch 'next' of ../next 2009-12-15 23:38:34 +01:00
net smc911x: fix typo in smc911x_handle_mac_address name 2009-12-07 22:04:02 +01:00
pci fsl_pci_init_port end-point initialization is broken 2009-11-04 09:16:30 -06:00
pcmcia Misc ti_pci1410a fixups 2009-09-04 21:54:04 +02:00
power OMAP3 Move twl4030 mmc function 2009-07-29 09:57:43 +02:00
qe mpc85xx: Configure QE USB for MPC8569E-MDS boards 2009-10-27 10:04:17 -05:00
rtc Merge branch 'master' into next 2009-12-05 02:11:59 +01:00
serial Add a unified s3c24x0 header file 2009-11-27 16:26:13 -06:00
spi Add support for CS2 dataflash for Atmel-SPI. 2009-11-23 23:43:37 +01:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
video video: mb862xx: add option VIDEO_FB_16BPP_WORD_SWAP for IPEK01 2009-10-31 12:17:40 +01:00
watchdog at91sam9: add watchdog support 2009-04-04 20:42:19 +02:00