Changeset 81db65b in mainline
- Timestamp:
- 2011-05-13T14:37:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a29529b
- Parents:
- 5fd3f2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r5fd3f2d r81db65b 36 36 #include <errno.h> 37 37 #include <str_error.h> 38 #include <time.h> 38 39 39 40 #include <usb/usb.h> /* usb_address_t */ … … 224 225 uhci_port_write_status(port, port_status); 225 226 while (uhci_port_read_status(port) & STATUS_IN_RESET); 226 // TODO: find a better way to waste time (it should be less than 227 // 10ms, if we reschedule it takes too much time (random 228 // interrupts can be solved by multiple attempts). 229 usb_log_debug2("%s: Reset Signal stop.\n", port->id_string); 230 } 227 } 228 udelay(10); 231 229 /* Enable the port. */ 232 230 uhci_port_set_enabled(port, true);
Note:
See TracChangeset
for help on using the changeset viewer.