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

Changeset bfff7fd in mainline


Ignore:
Timestamp:
2014-01-25T02:56:19Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
584aa38
Parents:
d4673007
Message:

ehci: use the same interrupt mask in init and irq code

File:
1 edited

Legend:

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

    rd4673007 rbfff7fd  
    5353
    5454#define EHCI_USED_INTERRUPTS \
    55     (USB_INTR_IRQ_FLAG | USB_INTR_ERR_IRQ_FLAG | USB_INTR_PORT_CHANGE_FLAG)
     55    (USB_INTR_IRQ_FLAG | USB_INTR_ERR_IRQ_FLAG | USB_INTR_PORT_CHANGE_FLAG | \
     56    USB_INTR_ASYNC_ADVANCE_FLAG | USB_INTR_HOST_ERR_FLAG)
    5657
    5758static const irq_pio_range_t ehci_pio_ranges[] = {
     
    335336        }
    336337        /* Enable interrupts */
    337         EHCI_WR(instance->registers->usbintr, USB_INTR_PORT_CHANGE_FLAG | USB_INTR_IRQ_FLAG | USB_INTR_ASYNC_ADVANCE_FLAG);
     338        EHCI_WR(instance->registers->usbintr, EHCI_USED_INTERRUPTS);
    338339        /* Use the lowest 4G segment */
    339340        EHCI_WR(instance->registers->ctrldssegment, 0);
Note: See TracChangeset for help on using the changeset viewer.