firewire: Add lock transaction opcodes to fw-device-cdev.h.
authorKristian Høgsberg <krh@localhost.localdomain>
Fri, 26 Jan 2007 05:38:18 +0000 (00:38 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:47 +0000 (22:02 +0100)
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.h

index b934272..ddbae43 100644 (file)
 #define TCODE_STREAM_DATA              10
 #define TCODE_LOCK_RESPONSE            11
 
+#define TCODE_LOCK_MASK_SWAP           0x11
+#define TCODE_LOCK_COMPARE_SWAP                0x12
+#define TCODE_LOCK_FETCH_ADD           0x13
+#define TCODE_LOCK_LITTLE_ADD          0x14
+#define TCODE_LOCK_BOUNDED_ADD         0x15
+#define TCODE_LOCK_WRAP_ADD            0x16
+#define TCODE_LOCK_VENDOR_DEPENDENT    0x17
+
 #define RCODE_COMPLETE                 0x0
 #define RCODE_CONFLICT_ERROR           0x4
 #define RCODE_DATA_ERROR               0x5