Ignore:
File:
1 edited

Legend:

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

    r96323d2 r58563585  
    2727 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2828 */
     29
    2930/** @addtogroup drvusbhub
    3031 * @{
     
    3334 * Hub ports related functions.
    3435 */
     36
    3537#ifndef DRV_USBHUB_PORT_H
    3638#define DRV_USBHUB_PORT_H
     
    4547typedef struct {
    4648        /** Port number as reported in descriptors. */
    47         unsigned port_number;
     49        unsigned int port_number;
    4850        /** Device communication pipe. */
    4951        usb_pipe_t *control_pipe;
     
    6971 * @param port Port to be initialized.
    7072 */
    71 static inline void usb_hub_port_init(usb_hub_port_t *port, unsigned port_number,
    72     usb_pipe_t *control_pipe)
     73static inline void usb_hub_port_init(usb_hub_port_t *port,
     74    unsigned int port_number, usb_pipe_t *control_pipe)
    7375{
    7476        assert(port);
     
    8082        fibril_condvar_initialize(&port->reset_cv);
    8183}
     84
    8285int usb_hub_port_fini(usb_hub_port_t *port, usb_hub_dev_t *hub);
    8386int usb_hub_port_clear_feature(
     
    8992
    9093#endif
     94
    9195/**
    9296 * @}
Note: See TracChangeset for help on using the changeset viewer.