Commit aab147d6 authored by Manfred Weihs's avatar Manfred Weihs Committed by Ben Collins

IEEE1394(1164): Added 1394 acknowledge codes.

parent 9d501551
...@@ -36,8 +36,11 @@ ...@@ -36,8 +36,11 @@
#define ACK_BUSY_X 0x4 #define ACK_BUSY_X 0x4
#define ACK_BUSY_A 0x5 #define ACK_BUSY_A 0x5
#define ACK_BUSY_B 0x6 #define ACK_BUSY_B 0x6
#define ACK_TARDY 0xb
#define ACK_CONFLICT_ERROR 0xc
#define ACK_DATA_ERROR 0xd #define ACK_DATA_ERROR 0xd
#define ACK_TYPE_ERROR 0xe #define ACK_TYPE_ERROR 0xe
#define ACK_ADDRESS_ERROR 0xf
/* Non-standard "ACK codes" for internal use */ /* Non-standard "ACK codes" for internal use */
#define ACKX_NONE (-1) #define ACKX_NONE (-1)
......
...@@ -239,6 +239,11 @@ int hpsb_packet_success(struct hpsb_packet *packet) ...@@ -239,6 +239,11 @@ int hpsb_packet_success(struct hpsb_packet *packet)
return -EAGAIN; return -EAGAIN;
} }
case ACK_ADDRESS_ERROR:
return -EINVAL;
case ACK_TARDY:
case ACK_CONFLICT_ERROR:
case ACKX_NONE: case ACKX_NONE:
case ACKX_SEND_ERROR: case ACKX_SEND_ERROR:
case ACKX_ABORTED: case ACKX_ABORTED:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment