Changeset ab87db5 in mainline for uspace/drv/bus/usb


Ignore:
Timestamp:
2019-02-23T17:16:01Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

Location:
uspace/drv/bus/usb
Files:
4 edited

Legend:

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

    rbc417660 rab87db5  
    514514
    515515        /* Enable interrupts */
    516         if (CAP_HANDLE_VALID(instance->base.irq_handle)) {
     516        if (cap_handle_valid(instance->base.irq_handle)) {
    517517                OHCI_WR(instance->registers->interrupt_enable,
    518518                    OHCI_USED_INTERRUPTS);
  • uspace/drv/bus/usb/uhci/hc.c

    rbc417660 rab87db5  
    295295        pio_write_32(&registers->flbaseadd, pa);
    296296
    297         if (CAP_HANDLE_VALID(instance->base.irq_handle)) {
     297        if (cap_handle_valid(instance->base.irq_handle)) {
    298298                /* Enable all interrupts, but resume interrupt */
    299299                pio_write_16(&instance->registers->usbintr,
  • uspace/drv/bus/usb/vhc/conndev.c

    rbc417660 rab87db5  
    8383                return;
    8484
    85         size_t len = IPC_GET_ARG2(data_request_call);
     85        size_t len = ipc_get_arg2(&data_request_call);
    8686        plugged_device_name[len] = 0;
    8787}
  • uspace/drv/bus/usb/xhci/hc.c

    rbc417660 rab87db5  
    494494        XHCI_REG_WR(intr0, XHCI_INTR_ERSTBA, erstba_phys);
    495495
    496         if (CAP_HANDLE_VALID(hc->base.irq_handle)) {
     496        if (cap_handle_valid(hc->base.irq_handle)) {
    497497                XHCI_REG_SET(intr0, XHCI_INTR_IE, 1);
    498498                XHCI_REG_SET(hc->op_regs, XHCI_OP_INTE, 1);
Note: See TracChangeset for help on using the changeset viewer.