1. 23 10月, 2010 1 次提交
  2. 13 10月, 2010 1 次提交
  3. 11 9月, 2010 2 次提交
  4. 13 1月, 2010 1 次提交
  5. 09 1月, 2010 2 次提交
  6. 20 12月, 2009 1 次提交
    • T
      USB Consolidate descriptor definitions · 8f8bd565
      Tom Rix 提交于
      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: NTom Rix <Tom.Rix@windriver.com>
      8f8bd565
  7. 18 7月, 2009 1 次提交
    • J
      stdio/device: rework function naming convention · 52cb4d4f
      Jean-Christophe PLAGNIOL-VILLARD 提交于
      So far the console API uses the following naming convention:
      
      	======Extract======
      	typedef struct device_t;
      
      	int	device_register (device_t * dev);
      	int	devices_init (void);
      	int	device_deregister(char *devname);
      	struct list_head* device_get_list(void);
      	device_t* device_get_by_name(char* name);
      	device_t* device_clone(device_t *dev);
      	=======
      
      which is too generic and confusing.
      
      Instead of using device_XX and device_t we change this
      into stdio_XX and stdio_dev
      
      This will also allow to add later a generic device mechanism in order
      to have support for multiple devices and driver instances.
      Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      
      Edited commit message.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      52cb4d4f
  8. 10 7月, 2009 1 次提交
  9. 07 4月, 2009 1 次提交
  10. 29 1月, 2009 1 次提交