Changeset aff1880 in mainline for uspace/drv/bus/usb/usbhub/ports.h


Ignore:
Timestamp:
2011-09-23T12:59:35Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c5abf9
Parents:
48a31be
Message:

usbhub: Move feature set/clear to ports.h, refactor reset sequence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/ports.h

    r48a31be raff1880  
    3838#include <usb/dev/driver.h>
    3939#include <usb/dev/hub.h>
     40#include <usb/classes/hub.h>
    4041
    4142typedef struct usb_hub_info_t usb_hub_info_t;
     
    7374
    7475void usb_hub_process_port_interrupt(usb_hub_info_t *hub, size_t port);
    75 
     76int usb_hub_clear_port_feature(usb_pipe_t *pipe,
     77    int port_index, usb_hub_class_feature_t feature);
     78int usb_hub_set_port_feature(usb_pipe_t *pipe,
     79    int port_index, usb_hub_class_feature_t feature);
    7680
    7781
Note: See TracChangeset for help on using the changeset viewer.