24 Jul, 2013

1 commit


28 Mar, 2012

1 commit

  • This patch adds the support for high speed in usb device framework and usbtty
    driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board
    configuration files have to define this macro to enable high speed support.

    Along with that specific peripheral drivers also need to define a function to
    let the framework know that the enumeration has happened at high speed.
    This function prototype is "int is_usbd_high_speed(void)"

    Signed-off-by: Vipin Kumar
    Signed-off-by: Amit Virdi

    Vipin KUMAR
     

17 Dec, 2011

1 commit

  • In 9792987721c7980453fe6447c3fa6593b44f8458 Stefan describes a usecase
    where the previous behavior of leaving wMaxPacketSize be unaligned
    caused fatal problems. The initial fix for this problem was incomplete
    however as it showed another cases of non-aligned access that previously
    worked implicitly. This switches to making sure that all access of
    wMaxPacketSize are done via (get|put)_unaligned.

    In order to maintain a level of readability to the code in some cases
    we now use a variable for the value of wMaxPacketSize and in others, a
    macro.

    Cc: Minkyu Kang
    Cc: Remy Bohmer

    OpenRISC:
    Tested-by: Stefan Kristiansson

    Beagleboard xM, Pandaboard run-tested, s5p_goni build-tested.
    Signed-off-by: Tom Rini

    Tom Rini
     

11 Dec, 2011

1 commit

  • The usb_endpoint_descriptor struct is 7 bytes large and is
    defined as an array (ep_desc[USB_MAXENDPOINTS])
    in the usb_interface struct in include/usb.h

    This fact will result in that every odd index in that
    array will start at an uneven address, this in
    turn makes accesses to u16 wMaxPacketSize unaligned.
    Such accesses are illegal on the OpenRISC architecture
    (as well as other architectures) and will render a bus error.

    Setting the aligned(2) attribute on usb_endpoint_descriptor
    will force wMaxPacketSize to a 16-bit boundary.

    Signed-off-by: Stefan Kristiansson

    Stefan Kristiansson
     

20 Dec, 2009

1 commit


15 Jun, 2006

1 commit


14 Jun, 2006

1 commit

  • - Add support for mpc8xx USB device.
    - Add support for Common Device Class - Abstract Control Model USB console.
    - Add support for flow control in USB slave devices.
    - Add support for switching between gserial and cdc_acm using environment.
    - Minor changes to usbdcore_omap1510.c usbdcore_omap1510.h
    - Update usbcore slightly to ease host enumeration.
    - Fix non-portable endian problems in usbdcore and usbdcore_ep0.
    - Add AdderUSB_config as a defconfig to enable usage of the USB console
    by default with the Adder87x U-Boot port.
    Patches by Bryan O'Donoghue , 29 May 2006

    Wolfgang Denk
     

12 Mar, 2004

1 commit