Changeset 58ac3ec in mainline for uspace/drv/bus/usb/uhci/uhci_batch.c


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/uhci_batch.c

    r8b8c164 r58ac3ec  
    159159        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT
    160160            " checking %zu transfer(s) for completion.\n",
    161             uhci_batch->usb_batch,
    162             USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),
     161            uhci_batch, USB_TRANSFER_BATCH_ARGS(uhci_batch->base),
    163162            uhci_batch->td_count);
    164163        uhci_batch->base.transfered_size = 0;
     
    174173
    175174                        usb_log_debug("Batch %p found error TD(%zu->%p):%"
    176                             PRIx32 ".\n", uhci_batch->usb_batch, i,
     175                            PRIx32 ".\n", uhci_batch, i,
    177176                            &uhci_batch->tds[i], uhci_batch->tds[i].status);
    178177                        td_print_status(&uhci_batch->tds[i]);
     
    250249        usb_log_debug2(
    251250            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.\n", \
    252             uhci_batch->usb_batch,
     251            uhci_batch,
    253252            usb_str_transfer_type(uhci_batch->base.ep->transfer_type),
    254253            usb_str_direction(uhci_batch->base.ep->direction),
    255             USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch));
     254            USB_TRANSFER_BATCH_ARGS(uhci_batch->base));
    256255}
    257256
Note: See TracChangeset for help on using the changeset viewer.