Changeset 62066b4 in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2011-02-20T21:47:23Z (15 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ace12560
Parents:
6bb83c7 (diff), 423e8c81 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with usb/development

Location:
uspace/lib/usb/include/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/hub.h

    r6bb83c7 r62066b4  
    3939#include <usb/usbdevice.h>
    4040
     41int usb_hc_new_device_wrapper(device_t *, usb_hc_connection_t *, usb_speed_t,
     42    int (*)(int, void *), int, void *, usb_address_t *, devman_handle_t *);
    4143
    4244/** Info about device attached to host controller.
     
    5355} usb_hc_attached_device_t;
    5456
    55 int usb_hc_reserve_default_address(usb_hc_connection_t *, bool);
     57int usb_hc_reserve_default_address(usb_hc_connection_t *, usb_speed_t);
    5658int usb_hc_release_default_address(usb_hc_connection_t *);
    5759
    58 usb_address_t usb_hc_request_address(usb_hc_connection_t *, bool);
     60usb_address_t usb_hc_request_address(usb_hc_connection_t *, usb_speed_t);
    5961int usb_hc_register_device(usb_hc_connection_t *,
    6062    const usb_hc_attached_device_t *);
  • uspace/lib/usb/include/usb/usb.h

    r6bb83c7 r62066b4  
    6868        USB_DIRECTION_BOTH
    6969} usb_direction_t;
     70
     71/** USB speeds. */
     72typedef enum {
     73        /** USB 1.1 low speed (1.5Mbits/s). */
     74        USB_SPEED_LOW,
     75        /** USB 1.1 full speed (12Mbits/s). */
     76        USB_SPEED_FULL,
     77        /** USB 2.0 high speed (480Mbits/s). */
     78        USB_SPEED_HIGH
     79} usb_speed_t;
    7080
    7181/** USB request type target. */
Note: See TracChangeset for help on using the changeset viewer.