Changeset 5a6cc679 in mainline for uspace/drv/bus/usb/ehci/res.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/res.c
r132ab5d1 r5a6cc679 63 63 * @return Error code. 64 64 */ 65 static int disable_extended_caps(async_sess_t *parent_sess, unsigned eecp)65 static errno_t disable_extended_caps(async_sess_t *parent_sess, unsigned eecp) 66 66 { 67 67 /* nothing to do */ … … 71 71 /* Read the first EEC. i.e. Legacy Support register */ 72 72 uint32_t usblegsup; 73 int ret = pci_config_space_read_32(parent_sess,73 errno_t ret = pci_config_space_read_32(parent_sess, 74 74 eecp + USBLEGSUP_OFFSET, &usblegsup); 75 75 if (ret != EOK) { … … 173 173 } 174 174 175 int disable_legacy(hc_device_t *hcd)175 errno_t disable_legacy(hc_device_t *hcd) 176 176 { 177 177 hc_t *hc = hcd_to_hc(hcd); … … 182 182 183 183 usb_log_debug("Disabling EHCI legacy support."); 184 185 184 186 185 const uint32_t hcc_params = EHCI_RD(hc->caps->hccparams);
Note:
See TracChangeset
for help on using the changeset viewer.