Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c
rfac0ac7 r7c3fb9b 127 127 return EIO; 128 128 129 /* CRC or timeout error, like device not present or bad data, 130 * it won't be reported unless err count reached zero */ 129 /* 130 * CRC or timeout error, like device not present or bad data, 131 * it won't be reported unless err count reached zero 132 */ 131 133 if ((instance->status & TD_STATUS_ERROR_CRC) != 0) 132 134 return EBADCHECKSUM; … … 144 146 return EIO; 145 147 146 /* Stall might represent err count reaching zero or stall response from 147 * the device. If err count reached zero, one of the above is reported*/ 148 /* 149 * Stall might represent err count reaching zero or stall response from 150 * the device. If err count reached zero, one of the above is reported 151 */ 148 152 if ((instance->status & TD_STATUS_ERROR_STALLED) != 0) 149 153 return ESTALL;
Note:
See TracChangeset
for help on using the changeset viewer.