Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ehci/res.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/res.c
rfac0ac7 r7c3fb9b 80 80 usb_log_debug2("USBLEGSUP: %" PRIx32 ".", usblegsup); 81 81 82 /* Request control from firmware/BIOS by writing 1 to highest 83 * byte. (OS Control semaphore)*/ 82 /* 83 * Request control from firmware/BIOS by writing 1 to highest 84 * byte. (OS Control semaphore) 85 */ 84 86 usb_log_debug("Requesting OS control."); 85 87 ret = pci_config_space_write_8(parent_sess, … … 187 189 usb_log_debug2("Value of hcc params register: %x.", hcc_params); 188 190 189 /* Read value of EHCI Extended Capabilities Pointer 190 * position of EEC registers (points to PCI config space) */ 191 /* 192 * Read value of EHCI Extended Capabilities Pointer 193 * position of EEC registers (points to PCI config space) 194 */ 191 195 const uint32_t eecp = 192 196 (hcc_params >> EHCI_CAPS_HCC_EECP_SHIFT) & EHCI_CAPS_HCC_EECP_MASK;
Note:
See TracChangeset
for help on using the changeset viewer.