Changeset 50340bf in mainline for uspace/drv/ehci-hcd/pci.c
- Timestamp:
- 2011-05-30T20:37:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6503e9
- Parents:
- d754f59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/pci.c
rd754f59 r50340bf 258 258 ret = pci_read32(device, eecp + USBLEGSUP_OFFSET, &usblegsup); 259 259 CHECK_RET_RETURN(ret, "Failed to read USBLEGSUP: %s.\n", str_error(ret)); 260 usb_log_debug("USBLEGSUP: %" PRIx n".\n", usblegsup);260 usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup); 261 261 262 262 /* Request control from firmware/BIOS, by writing 1 to highest byte. … … 301 301 CHECK_RET_RETURN(ret, 302 302 "Failed to get USBLEGCTLSTS: %s.\n", str_error(ret)); 303 usb_log_debug("USBLEGCTLSTS: %" PRIx n".\n",303 usb_log_debug("USBLEGCTLSTS: %" PRIx32 ".\n", 304 304 usblegctlsts); 305 305 /* Zero SMI enables in legacy control register. … … 315 315 "Failed to get USBLEGCTLSTS 2: %s.\n", 316 316 str_error(ret)); 317 usb_log_debug("Zeroed USBLEGCTLSTS: %" PRIx n".\n",317 usb_log_debug("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n", 318 318 usblegctlsts); 319 319 } … … 324 324 ret = pci_read32(device, eecp + USBLEGSUP_OFFSET, &usblegsup); 325 325 CHECK_RET_RETURN(ret, "Failed to read USBLEGSUP: %s.\n", str_error(ret)); 326 usb_log_debug("USBLEGSUP: %" PRIx n".\n", usblegsup);326 usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup); 327 327 328 328 /*
Note:
See TracChangeset
for help on using the changeset viewer.