Changeset f6f2a5f7 in mainline for uspace/drv/bus/usb/ehci/res.c


Ignore:
Timestamp:
2015-06-29T01:55:36Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50362c6
Parents:
68a61f19
Message:

ehci,res: Adjust debug messages level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/res.c

    r68a61f19 rf6f2a5f7  
    7676                return ret;
    7777        }
    78         usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
     78        usb_log_debug2("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
    7979
    8080        /* Request control from firmware/BIOS by writing 1 to highest
     
    133133                        return ret;
    134134                }
    135                 usb_log_debug("USBLEGCTLSTS: %" PRIx32 ".\n", usblegctlsts);
     135                usb_log_debug2("USBLEGCTLSTS: %" PRIx32 ".\n", usblegctlsts);
    136136                /*
    137137                 * Zero SMI enables in legacy control register.
     
    156156                        return ret;
    157157                }
    158                 usb_log_debug("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n",
     158                usb_log_debug2("Zeroed USBLEGCTLSTS: %" PRIx32 ".\n",
    159159                    usblegctlsts);
    160160        }
     
    168168                return ret;
    169169        }
    170         usb_log_debug("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
     170        usb_log_debug2("USBLEGSUP: %" PRIx32 ".\n", usblegsup);
    171171        return ret;
    172172}
     
    208208        }
    209209
    210         usb_log_debug2("Registers mapped at: %p.\n", regs);
     210        usb_log_debug("Registers mapped at: %p.\n", regs);
    211211
    212212        ehci_caps_regs_t *ehci_caps = regs;
    213213
    214214        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);
    216216
    217217        /* Read value of EHCI Extended Capabilities Pointer
     
    219219        const uint32_t eecp =
    220220            (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);
    222222
    223223        ret = disable_extended_caps(parent_sess, eecp);
Note: See TracChangeset for help on using the changeset viewer.