Changeset eb2a48a in mainline for uspace/drv/uhci-hcd/uhci_hc.c


Ignore:
Timestamp:
2011-03-16T23:18:34Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d142e75
Parents:
a963a68
Message:

Set the value explicitly even if it's the default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci_hc.c

    ra963a68 reb2a48a  
    149149        while ((pio_read_16(&registers->usbcmd) & UHCI_CMD_HCRESET) != 0);
    150150
    151         /* Set framelist pointer */
     151        /* Set frame to exactly 1ms */
     152        pio_write_8(&registers->sofmod, 64);
     153
     154        /* Set frame list pointer */
    152155        const uint32_t pa = addr_to_phys(instance->frame_list);
    153156        pio_write_32(&registers->flbaseadd, pa);
Note: See TracChangeset for help on using the changeset viewer.