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