const char* trb_strterm(TRB_TERM term)
{
static const char commonStatusBits[16][64] = {
- "COM_EndpointReached: no endpoint has been reached", /* error */
+ "COM_EndpointReached: no endpoint has been reached", /* status */
"COM_Collision: collision has been detected", /* error */
"COM_WordMissing: mismatch of packet counters (EOB)", /* error */
- "COM_Checksum: checksum error", /* status, at the moment */
+ "COM_Checksum: checksum error", /* error */
"COM_DontUnderstand: endpoint doesn't understand data", /* error */
"COM_BufferMismatch: buffer numbers (EOB and ACK) mismatch", /* error */
- "COM_AnswerMissing: One endpoint didn't react", /* error */
+ "COM_AnswerMissing: One2 endpoint didn't react", /* status */
"", "", "", "", "", "", "", "", ""
};
-const char trbnet_version[] = "$Revision: 2.66 $";
+const char trbnet_version[] = "$Revision: 2.67 $";
#include <stdlib.h>
#include <signal.h>
return -1;
}
- if ((trb_term.status_common & 0x007e) != 0) {
+ if ((trb_term.status_common & 0x0003e) != 0) {
trb_errno = TRB_STATUS_ERROR;
return -1;
}