diff options
Diffstat (limited to 'tools/firewire/decode-fcp.c')
-rw-r--r-- | tools/firewire/decode-fcp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/firewire/decode-fcp.c b/tools/firewire/decode-fcp.c index 9cd1550db24a..e41223b6a4c8 100644 --- a/tools/firewire/decode-fcp.c +++ b/tools/firewire/decode-fcp.c | |||
@@ -1,5 +1,7 @@ | |||
1 | #include <stdlib.h> | 1 | #include <linux/firewire-constants.h> |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <stdlib.h> | ||
4 | |||
3 | #include "list.h" | 5 | #include "list.h" |
4 | #include "nosy-dump.h" | 6 | #include "nosy-dump.h" |
5 | 7 | ||
@@ -176,7 +178,7 @@ decode_fcp(struct link_transaction *t) | |||
176 | ((unsigned long long) t->request->packet.common.offset_high << 32) | | 178 | ((unsigned long long) t->request->packet.common.offset_high << 32) | |
177 | t->request->packet.common.offset_low; | 179 | t->request->packet.common.offset_low; |
178 | 180 | ||
179 | if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK) | 181 | if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) |
180 | return 0; | 182 | return 0; |
181 | 183 | ||
182 | if (offset == CSR_FCP_COMMAND || offset == CSR_FCP_RESPONSE) { | 184 | if (offset == CSR_FCP_COMMAND || offset == CSR_FCP_RESPONSE) { |