Changeset 50340bf in mainline for uspace/drv/ehci-hcd/pci.c


Ignore:
Timestamp:
2011-05-30T20:37:04Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6503e9
Parents:
d754f59
Message:

Fix printf directive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ehci-hcd/pci.c

    rd754f59 r50340bf  
    258258        ret = pci_read32(device, eecp + USBLEGSUP_OFFSET, &usblegsup);
    259259        CHECK_RET_RETURN(ret, "Failed to read USBLEGSUP: %s.\n", str_error(ret));
    260         usb_log_debug("USBLEGSUP: %" PRIxn ".\n", usblegsup);
     260        usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
    261261
    262262        /* Request control from firmware/BIOS, by writing 1 to highest byte.
     
    301301                        CHECK_RET_RETURN(ret,
    302302                            "Failed to get USBLEGCTLSTS: %s.\n", str_error(ret));
    303                         usb_log_debug("USBLEGCTLSTS: %" PRIxn ".\n",
     303                        usb_log_debug("USBLEGCTLSTS: %" PRIx32 ".\n",
    304304                            usblegctlsts);
    305305                        /* Zero SMI enables in legacy control register.
     
    315315                            "Failed to get USBLEGCTLSTS 2: %s.\n",
    316316                            str_error(ret));
    317                         usb_log_debug("Zeroed USBLEGCTLSTS: %" PRIxn ".\n",
     317                        usb_log_debug("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n",
    318318                            usblegctlsts);
    319319                }
     
    324324        ret = pci_read32(device, eecp + USBLEGSUP_OFFSET, &usblegsup);
    325325        CHECK_RET_RETURN(ret, "Failed to read USBLEGSUP: %s.\n", str_error(ret));
    326         usb_log_debug("USBLEGSUP: %" PRIxn ".\n", usblegsup);
     326        usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
    327327
    328328        /*
Note: See TracChangeset for help on using the changeset viewer.