Changeset 2736b13e in mainline for uspace/drv/uhci-hcd/main.c


Ignore:
Timestamp:
2011-02-16T22:41:02Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
890af992
Parents:
30a4301
Message:

Implement interrupt handler

File:
1 edited

Legend:

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

    r30a4301 r2736b13e  
    7676};
    7777/*----------------------------------------------------------------------------*/
    78 static void irq_handler(device_t *dev, ipc_callid_t iid, ipc_call_t *call)
     78static void irq_handler(device_t *device, ipc_callid_t iid, ipc_call_t *call)
    7979{
    80         usb_log_error("LOL interrupt %x %x.\n", iid, call);
     80        assert(device);
     81        uhci_t *hc = dev_to_uhci(device);
     82//      usb_log_info("LOL HARDWARE INTERRUPT: %p.\n", hc);
     83        assert(hc);
     84        uhci_interrupt(hc);
    8185}
    8286/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.