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


Ignore:
Timestamp:
2014-01-18T22:01:10Z (11 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/uhci/main.c

    ra5361fb r4bfcf22  
    4848#define NAME "uhci"
    4949
    50 // TODO: This should be merged to hc_interrupt
    51 static void uhci_interrupt(hcd_t *hcd, uint32_t status)
    52 {
    53         assert(hcd);
    54         if (hcd->driver.data)
    55                 hc_interrupt(hcd->driver.data, status);
    56 }
    57 
    5850static int uhci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq)
    5951{
     
    6860        if (ret == EOK)
    6961                hcd_set_implementation(hcd, instance, hc_schedule, NULL, NULL,
    70                     uhci_interrupt, hc_status);
     62                    hc_interrupt, hc_status);
    7163        return ret;
    7264}
Note: See TracChangeset for help on using the changeset viewer.