Changeset 0f79283b in mainline for uspace/lib/usb/include/usb/port.h


Ignore:
Timestamp:
2018-01-18T12:39:27Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2bff2cc2
Parents:
babcc423
Message:

usb: remove speed storing (and fix that misuse in xhci rh)

File:
1 edited

Legend:

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

    rbabcc423 r0f79283b  
    4141 *
    4242 * This subsystem abstracts the rather complicated state machine, and offers
    43  * a simple call interface to announce events, and a callback structure for
    44  * implementations to supply the hardware-dependent part.
     43 * a simple interface to announce events and leave the fibril management on the
     44 * library.
    4545 */
    4646
     
    6565        /** Current state of the port */
    6666        usb_port_state_t state;
    67         /** A speed of the device connected (if any). Valid unless state == PORT_DISABLED. */
    68         usb_speed_t speed;
    6967        /** CV signalled on fibril exit. */
    7068        fibril_condvar_t finished_cv;
     
    8785void usb_port_init(usb_port_t *);
    8886int usb_port_connected(usb_port_t *, usb_port_enumerate_t);
    89 void usb_port_enabled(usb_port_t *, usb_speed_t);
     87void usb_port_enabled(usb_port_t *);
    9088void usb_port_disabled(usb_port_t *, usb_port_remove_t);
    9189void usb_port_fini(usb_port_t *);
Note: See TracChangeset for help on using the changeset viewer.