Ignore:
File:
1 edited

Legend:

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

    r5b7ba8d r2f4fa79  
    237237{
    238238        assert(device);
    239         usb_log_debug("Disabling EHCI legacy support.\n");
    240239
    241240#define CHECK_RET_RETURN(ret, message...) \
     
    250249        CHECK_RET_RETURN(ret, "Failed to map registers %p: %s.\n",
    251250            (void *) reg_base, str_error(ret));
    252 
    253         usb_log_debug2("Registers mapped at: %p.\n", regs);
    254251
    255252        const uint32_t hcc_params =
     
    289286        if (*usbcmd & USBCMD_RUN) {
    290287                *usbsts = 0x3f; /* ack all interrupts */
    291                 *usbint = 0; /* disable all interrupts */
    292                 *usbconf = 0; /* release control of RH ports */
     288                *usbint = 0; /* disable all interrutps */
     289                *usbconf = 0; /* relase control of RH ports */
    293290
    294291                *usbcmd = 0;
     
    300297        }
    301298        usb_log_debug("Registers: \n"
    302             "\t USBCMD(%p): %x(0x00080000 = at least 1ms between interrupts)\n"
    303             "\t USBSTS(%p): %x(0x00001000 = HC halted)\n"
    304             "\t USBINT(%p): %x(0x0 = no interrupts).\n"
    305             "\t CONFIG(%p): %x(0x0 = ports controlled by companion hc).\n",
    306             usbcmd, *usbcmd, usbsts, *usbsts, usbint, *usbint, usbconf,*usbconf);
     299            "\t USBCMD: %x(0x00080000 = at least 1ms between interrupts)\n"
     300            "\t USBSTS: %x(0x00001000 = HC halted)\n"
     301            "\t USBINT: %x(0x0 = no interrupts).\n"
     302            "\t CONFIG: %x(0x0 = ports controlled by companion hc).\n",
     303            *usbcmd, *usbsts, *usbint, *usbconf);
    307304
    308305        return ret;
Note: See TracChangeset for help on using the changeset viewer.