aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@localhost.localdomain>2007-01-26 00:38:18 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:02:47 -0500
commit746083d86cf5f874741e3ddecf56ea3ed32959c8 (patch)
tree48691b1dd76383fac37036c8e9f201a3000de76a /drivers/firewire
parent36bfe49d076404fcdf5766098de21724635a1816 (diff)
firewire: Add lock transaction opcodes to fw-device-cdev.h.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-device-cdev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device-cdev.h b/drivers/firewire/fw-device-cdev.h
index b934272913e1..ddbae43ca1a4 100644
--- a/drivers/firewire/fw-device-cdev.h
+++ b/drivers/firewire/fw-device-cdev.h
@@ -37,6 +37,14 @@
37#define TCODE_STREAM_DATA 10 37#define TCODE_STREAM_DATA 10
38#define TCODE_LOCK_RESPONSE 11 38#define TCODE_LOCK_RESPONSE 11
39 39
40#define TCODE_LOCK_MASK_SWAP 0x11
41#define TCODE_LOCK_COMPARE_SWAP 0x12
42#define TCODE_LOCK_FETCH_ADD 0x13
43#define TCODE_LOCK_LITTLE_ADD 0x14
44#define TCODE_LOCK_BOUNDED_ADD 0x15
45#define TCODE_LOCK_WRAP_ADD 0x16
46#define TCODE_LOCK_VENDOR_DEPENDENT 0x17
47
40#define RCODE_COMPLETE 0x0 48#define RCODE_COMPLETE 0x0
41#define RCODE_CONFLICT_ERROR 0x4 49#define RCODE_CONFLICT_ERROR 0x4
42#define RCODE_DATA_ERROR 0x5 50#define RCODE_DATA_ERROR 0x5