Changeset f6f2a5f7 in mainline
- Timestamp:
- 2015-06-29T01:55:36Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50362c6
- Parents:
- 68a61f19
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/res.c
r68a61f19 rf6f2a5f7 76 76 return ret; 77 77 } 78 usb_log_debug ("USBLEGSUP: %" PRIx32 ".\n", usblegsup);78 usb_log_debug2("USBLEGSUP: %" PRIx32 ".\n", usblegsup); 79 79 80 80 /* Request control from firmware/BIOS by writing 1 to highest … … 133 133 return ret; 134 134 } 135 usb_log_debug ("USBLEGCTLSTS: %" PRIx32 ".\n", usblegctlsts);135 usb_log_debug2("USBLEGCTLSTS: %" PRIx32 ".\n", usblegctlsts); 136 136 /* 137 137 * Zero SMI enables in legacy control register. … … 156 156 return ret; 157 157 } 158 usb_log_debug ("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n",158 usb_log_debug2("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n", 159 159 usblegctlsts); 160 160 } … … 168 168 return ret; 169 169 } 170 usb_log_debug ("USBLEGSUP: %" PRIx32 ".\n", usblegsup);170 usb_log_debug2("USBLEGSUP: %" PRIx32 ".\n", usblegsup); 171 171 return ret; 172 172 } … … 208 208 } 209 209 210 usb_log_debug 2("Registers mapped at: %p.\n", regs);210 usb_log_debug("Registers mapped at: %p.\n", regs); 211 211 212 212 ehci_caps_regs_t *ehci_caps = regs; 213 213 214 214 const uint32_t hcc_params = EHCI_RD(ehci_caps->hccparams); 215 usb_log_debug ("Value of hcc params register: %x.\n", hcc_params);215 usb_log_debug2("Value of hcc params register: %x.\n", hcc_params); 216 216 217 217 /* Read value of EHCI Extended Capabilities Pointer … … 219 219 const uint32_t eecp = 220 220 (hcc_params >> EHCI_CAPS_HCC_EECP_SHIFT) & EHCI_CAPS_HCC_EECP_MASK; 221 usb_log_debug ("Value of EECP: %x.\n", eecp);221 usb_log_debug2("Value of EECP: %x.\n", eecp); 222 222 223 223 ret = disable_extended_caps(parent_sess, eecp);
Note:
See TracChangeset
for help on using the changeset viewer.