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

Changeset d4673007 in mainline


Ignore:
Timestamp:
2014-01-25T02:54:40Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
bfff7fd
Parents:
5ee3ce0
Message:

ehci: use longer pio delay

fixes hangs in qemu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_regs.h

    r5ee3ce0 rd4673007  
    4242#define EHCI_RD(reg) uint32_t_le2host(pio_read_32(&(reg)))
    4343#define EHCI_RD8(reg) pio_read_8(&(reg))
    44 #define EHCI_SET(reg, val) pio_set_32(&(reg), host2uint32_t_le(val), 0)
    45 #define EHCI_CLR(reg, val) pio_clear_32(&(reg), host2uint32_t_le(val), 0)
     44#define EHCI_SET(reg, val) pio_set_32(&(reg), host2uint32_t_le(val), 10)
     45#define EHCI_CLR(reg, val) pio_clear_32(&(reg), host2uint32_t_le(val), 10)
    4646
    4747/** EHCI memory mapped capability registers structure */
Note: See TracChangeset for help on using the changeset viewer.