-#include <stdlib.h>
+#include <linux/firewire-constants.h>
#include <stdio.h>
+#include <stdlib.h>
+
#include "list.h"
#include "nosy-dump.h"
((unsigned long long) t->request->packet.common.offset_high << 32) |
t->request->packet.common.offset_low;
- if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK)
+ if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST)
return 0;
if (offset == CSR_FCP_COMMAND || offset == CSR_FCP_RESPONSE) {