Changeset 4bfcf22 in mainline for uspace/drv/bus/usb/ehci/main.c


Ignore:
Timestamp:
2014-01-18T22:01:10Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f6cb910
Parents:
a5361fb
Message:

ehci,ohci,uhci: Remove interrupt handler wrappers

File:
1 edited

Legend:

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

    ra5361fb r4bfcf22  
    4747
    4848#define NAME "ehci"
    49 // TODO: This should be merged to hc_interrupt
    50 static void ehci_interrupt(hcd_t *hcd, uint32_t status)
    51 {
    52         assert(hcd);
    53         if (hcd->driver.data)
    54                 hc_interrupt(hcd->driver.data, status);
    55 }
    5649
    5750static int ehci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq)
     
    6760        if (ret == EOK)
    6861                hcd_set_implementation(hcd, instance, hc_schedule,
    69                     NULL, NULL, ehci_interrupt, NULL);
     62                    NULL, NULL, hc_interrupt, NULL);
    7063        return ret;
    7164}
Note: See TracChangeset for help on using the changeset viewer.