Changeset 3bacee1 in mainline for uspace/drv/bus/usb/ehci/res.c
- Timestamp:
- 2018-04-12T16:27:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/res.c
r76d0981d r3bacee1 95 95 ret = pci_config_space_read_32( 96 96 parent_sess, eecp + USBLEGSUP_OFFSET, &usblegsup); 97 while ((ret == EOK) && (wait < DEFAULT_WAIT) 98 &&(usblegsup & USBLEGSUP_BIOS_CONTROL)) {97 while ((ret == EOK) && (wait < DEFAULT_WAIT) && 98 (usblegsup & USBLEGSUP_BIOS_CONTROL)) { 99 99 async_usleep(WAIT_STEP); 100 100 ret = pci_config_space_read_32(parent_sess, … … 109 109 110 110 /* BIOS failed to hand over control, this should not happen. */ 111 usb_log_warning( 111 usb_log_warning("BIOS failed to release control after " 112 112 "%zu usecs, force it.", wait); 113 113 ret = pci_config_space_write_32(parent_sess, … … 197 197 usb_log_error("Failed to disable extended capabilities: %s.", 198 198 str_error(ret)); 199 199 goto clean; 200 200 } 201 201 clean:
Note:
See TracChangeset
for help on using the changeset viewer.