Changes in uspace/drv/bus/usb/ehci/res.c [b7fd2a0:53a309e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/res.c
rb7fd2a0 r53a309e 62 62 * @return Error code. 63 63 */ 64 static errno_t disable_extended_caps(async_sess_t *parent_sess, unsigned eecp)64 static int disable_extended_caps(async_sess_t *parent_sess, unsigned eecp) 65 65 { 66 66 /* nothing to do */ … … 70 70 /* Read the first EEC. i.e. Legacy Support register */ 71 71 uint32_t usblegsup; 72 errno_t ret = pci_config_space_read_32(parent_sess,72 int ret = pci_config_space_read_32(parent_sess, 73 73 eecp + USBLEGSUP_OFFSET, &usblegsup); 74 74 if (ret != EOK) { … … 172 172 } 173 173 174 errno_t disable_legacy(ddf_dev_t *device)174 int disable_legacy(ddf_dev_t *device) 175 175 { 176 176 assert(device); … … 184 184 hw_res_list_parsed_t res; 185 185 hw_res_list_parsed_init(&res); 186 errno_t ret = hw_res_get_list_parsed(parent_sess, &res, 0);186 int ret = hw_res_get_list_parsed(parent_sess, &res, 0); 187 187 if (ret != EOK) { 188 188 usb_log_error("Failed to get resource list: %s\n",
Note:
See TracChangeset
for help on using the changeset viewer.