Changes in uspace/drv/bus/usb/usbhub/port.h [87619045:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.h
r87619045 r9d58539 37 37 38 38 #include <usb/dev/driver.h> 39 #include <usb/dev/hub.h> 39 40 #include <usb/classes/hub.h> 40 #include <usb_iface.h>41 41 42 42 typedef struct usb_hub_dev usb_hub_dev_t; … … 59 59 bool reset_okay; 60 60 61 usb_device_handle_t attached_handle;62 61 /** Information about attached device. */ 62 usb_hub_attached_device_t attached_device; 63 63 } usb_hub_port_t; 64 64 … … 71 71 { 72 72 assert(port); 73 port->attached_device.address = -1; 74 port->attached_device.fun = NULL; 73 75 port->port_number = port_number; 74 76 port->control_pipe = control_pipe; 75 port->attached_handle = USB_DEVICE_HANDLE_INVALID;76 77 fibril_mutex_initialize(&port->mutex); 77 78 fibril_condvar_initialize(&port->reset_cv);
Note:
See TracChangeset
for help on using the changeset viewer.