Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 44b9b44 in mainline


Ignore:
Timestamp:
2014-01-25T07:11:37Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
21f36e04
Parents:
e9c5bd9
Message:

ehci: enable periodic schedule

File:
1 edited

Legend:

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

    re9c5bd9 r44b9b44  
    371371        assert((phys_base & USB_PERIODIC_LIST_BASE_MASK) == phys_base);
    372372        EHCI_WR(instance->registers->periodiclistbase, phys_base);
    373 
    374         /* start hc and get all ports */
    375         EHCI_SET(instance->registers->usbcmd, USB_CMD_RUN_FLAG);
    376         EHCI_SET(instance->registers->configflag, USB_CONFIG_FLAG_FLAG);
     373        EHCI_SET(instance->registers->usbcmd, USB_CMD_PERIODIC_SCHEDULE_FLAG);
     374
    377375
    378376        /* Enable Async schedule */
     
    382380            instance->async_list.list_head_pa);
    383381        EHCI_SET(instance->registers->usbcmd, USB_CMD_ASYNC_SCHEDULE_FLAG);
     382
     383        /* start hc and get all ports */
     384        EHCI_SET(instance->registers->usbcmd, USB_CMD_RUN_FLAG);
     385        EHCI_SET(instance->registers->configflag, USB_CONFIG_FLAG_FLAG);
    384386#if 0
    385387        /*
Note: See TracChangeset for help on using the changeset viewer.