Changeset fe10e72 in mainline for uspace/drv/uhci-hcd/uhci_struct


Ignore:
Timestamp:
2011-02-07T14:42:15Z (15 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
a72620d
Parents:
3f189c5
Message:

Fixes(only for new API trackers): add support for toggle bit

Location:
uspace/drv/uhci-hcd/uhci_struct
Files:
2 edited

Legend:

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

    r3f189c5 rfe10e72  
    3939
    4040void transfer_descriptor_init(transfer_descriptor_t *instance,
    41   int error_count, size_t size, bool isochronous, usb_target_t target,
    42         int pid, void *buffer)
     41    int error_count, size_t size, bool toggle, bool isochronous,
     42    usb_target_t target, int pid, void *buffer)
    4343{
    4444        assert(instance);
     
    104104                return USB_OUTCOME_CRCERROR;
    105105
    106         assert((((status >> TD_STATUS_ERROR_POS) & TD_STATUS_ERROR_MASK)
    107         | TD_STATUS_ERROR_RESERVED) == TD_STATUS_ERROR_RESERVED);
     106//      assert((((status >> TD_STATUS_ERROR_POS) & TD_STATUS_ERROR_MASK)
     107//      | TD_STATUS_ERROR_RESERVED) == TD_STATUS_ERROR_RESERVED);
    108108        return USB_OUTCOME_OK;
    109109}
  • uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.h

    r3f189c5 rfe10e72  
    9292
    9393void transfer_descriptor_init(transfer_descriptor_t *instance,
    94   int error_count, size_t size, bool isochronous, usb_target_t target,
    95         int pid, void *buffer);
    96 
     94    int error_count, size_t size, bool toggle, bool isochronous,
     95    usb_target_t target, int pid, void *buffer);
    9796
    9897int transfer_descriptor_status(transfer_descriptor_t *instance);
Note: See TracChangeset for help on using the changeset viewer.