Ignore:
Timestamp:
2017-10-28T10:39:17Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40a3bfa
Parents:
8b8c164
Message:

uhci: finished forgotten refactoring to generic batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/transfer_list.c

    r8b8c164 r58ac3ec  
    116116        assert(uhci_batch);
    117117        usb_log_debug2("Batch %p adding to queue %s.\n",
    118             uhci_batch->usb_batch, instance->name);
     118            uhci_batch, instance->name);
    119119
    120120        fibril_mutex_lock(&instance->guard);
     
    145145
    146146        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT
    147             " scheduled in queue %s.\n", uhci_batch->usb_batch,
    148             USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch), instance->name);
     147            " scheduled in queue %s.\n", uhci_batch,
     148            USB_TRANSFER_BATCH_ARGS(uhci_batch->base), instance->name);
    149149        fibril_mutex_unlock(&instance->guard);
    150150}
     
    211211
    212212        usb_log_debug2("Batch %p removing from queue %s.\n",
    213             uhci_batch->usb_batch, instance->name);
     213            uhci_batch, instance->name);
    214214
    215215        /* Assume I'm the first */
     
    233233        list_remove(&uhci_batch->link);
    234234        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " removed (%s) "
    235             "from %s, next: %x.\n", uhci_batch->usb_batch,
    236             USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),
     235            "from %s, next: %x.\n", uhci_batch,
     236            USB_TRANSFER_BATCH_ARGS(uhci_batch->base),
    237237            qpos, instance->name, uhci_batch->qh->next);
    238238}
Note: See TracChangeset for help on using the changeset viewer.