Changeset 0f79283b in mainline for uspace/lib/usb/include/usb/port.h
- Timestamp:
- 2018-01-18T12:39:27Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2bff2cc2
- Parents:
- babcc423
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/port.h
rbabcc423 r0f79283b 41 41 * 42 42 * This subsystem abstracts the rather complicated state machine, and offers 43 * a simple call interface to announce events, and a callback structure for44 * implementations to supply the hardware-dependent part.43 * a simple interface to announce events and leave the fibril management on the 44 * library. 45 45 */ 46 46 … … 65 65 /** Current state of the port */ 66 66 usb_port_state_t state; 67 /** A speed of the device connected (if any). Valid unless state == PORT_DISABLED. */68 usb_speed_t speed;69 67 /** CV signalled on fibril exit. */ 70 68 fibril_condvar_t finished_cv; … … 87 85 void usb_port_init(usb_port_t *); 88 86 int usb_port_connected(usb_port_t *, usb_port_enumerate_t); 89 void usb_port_enabled(usb_port_t * , usb_speed_t);87 void usb_port_enabled(usb_port_t *); 90 88 void usb_port_disabled(usb_port_t *, usb_port_remove_t); 91 89 void usb_port_fini(usb_port_t *);
Note:
See TracChangeset
for help on using the changeset viewer.