Changes in uspace/drv/uhci-rhd/port.c [5f94a0c:7d521e24] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r5f94a0c r7d521e24 40 40 41 41 #include <usb/usb.h> /* usb_address_t */ 42 #include <usb/ hub.h> /* usb_hc_new_device_wrapper */42 #include <usb/dev/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 might230 * enter suspend state. */231 229 udelay(10); 232 230 /* Enable the port. */ 233 231 uhci_port_set_enabled(port, true); 232 233 /* Reset recovery period, 234 * devices do not have to respond during this period 235 */ 236 async_usleep(10000); 234 237 return EOK; 235 238 }
Note:
See TracChangeset
for help on using the changeset viewer.