Changes in uspace/drv/bus/usb/usbhub/port.h [96323d2:58563585] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.h
r96323d2 r58563585 27 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 28 */ 29 29 30 /** @addtogroup drvusbhub 30 31 * @{ … … 33 34 * Hub ports related functions. 34 35 */ 36 35 37 #ifndef DRV_USBHUB_PORT_H 36 38 #define DRV_USBHUB_PORT_H … … 45 47 typedef struct { 46 48 /** Port number as reported in descriptors. */ 47 unsigned port_number;49 unsigned int port_number; 48 50 /** Device communication pipe. */ 49 51 usb_pipe_t *control_pipe; … … 69 71 * @param port Port to be initialized. 70 72 */ 71 static inline void usb_hub_port_init(usb_hub_port_t *port, unsigned port_number,72 u sb_pipe_t *control_pipe)73 static inline void usb_hub_port_init(usb_hub_port_t *port, 74 unsigned int port_number, usb_pipe_t *control_pipe) 73 75 { 74 76 assert(port); … … 80 82 fibril_condvar_initialize(&port->reset_cv); 81 83 } 84 82 85 int usb_hub_port_fini(usb_hub_port_t *port, usb_hub_dev_t *hub); 83 86 int usb_hub_port_clear_feature( … … 89 92 90 93 #endif 94 91 95 /** 92 96 * @}
Note:
See TracChangeset
for help on using the changeset viewer.