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


Ignore:
Timestamp:
2011-02-26T02:08:50Z (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:
0063838
Parents:
86c2ccd
Message:

Reset whole hc during initialization

Increase debug level of hw interrupt messages
use better error values for transfer_descriptor

File:
1 edited

Legend:

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

    r86c2ccd reb292a0  
    7777
    7878        if ((instance->status & TD_STATUS_ERROR_STALLED) != 0)
    79                 return EIO;
     79                return ESTALL;
    8080
    8181        if ((instance->status & TD_STATUS_ERROR_CRC) != 0)
    82                 return EAGAIN;
     82                return EBADCHECKSUM;
    8383
    8484        if ((instance->status & TD_STATUS_ERROR_BUFFER) != 0)
Note: See TracChangeset for help on using the changeset viewer.