diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-01-26 00:38:34 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:02:47 -0500 |
commit | e5f49c3b837ff90c8aec2c6c66c4966080aced06 (patch) | |
tree | 16f6cb30602b9e63b9dc3a0a4ef8b56dcaf10346 /drivers/firewire/fw-transaction.h | |
parent | 93c4cceb963ebb133531e5e3f4f6e2da0d222656 (diff) |
firewire: Sanitize send error codes.
Drop the negative errnos and use RCODEs for all error codes
in the complete transaction callback.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r-- | drivers/firewire/fw-transaction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index fb46ef78a323..ad7ba32755eb 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h | |||
@@ -87,6 +87,8 @@ | |||
87 | #define RCODE_SEND_ERROR 0x10 | 87 | #define RCODE_SEND_ERROR 0x10 |
88 | #define RCODE_CANCELLED 0x11 | 88 | #define RCODE_CANCELLED 0x11 |
89 | #define RCODE_BUSY 0x12 | 89 | #define RCODE_BUSY 0x12 |
90 | #define RCODE_GENERATION 0x13 | ||
91 | #define RCODE_NO_ACK 0x14 | ||
90 | 92 | ||
91 | #define RETRY_1 0x00 | 93 | #define RETRY_1 0x00 |
92 | #define RETRY_X 0x01 | 94 | #define RETRY_X 0x01 |