Changes in uspace/drv/uhci-rhd/port.c [7d521e24:5f94a0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r7d521e24 r5f94a0c 40 40 41 41 #include <usb/usb.h> /* usb_address_t */ 42 #include <usb/ dev/hub.h> /* usb_hc_new_device_wrapper */42 #include <usb/hub.h> /* usb_hc_new_device_wrapper */ 43 43 #include <usb/debug.h> 44 44 … … 227 227 while (uhci_port_read_status(port) & STATUS_IN_RESET); 228 228 } 229 /* PIO delay, should not be longer than 3ms as the device might 230 * enter suspend state. */ 229 231 udelay(10); 230 232 /* Enable the port. */ 231 233 uhci_port_set_enabled(port, true); 232 233 /* Reset recovery period,234 * devices do not have to respond during this period235 */236 async_usleep(10000);237 234 return EOK; 238 235 }
Note:
See TracChangeset
for help on using the changeset viewer.