tools/firewire: nosy-dump: use linux/firewire-constants.h

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Stefan Richter
2010-07-22 11:58:05 +02:00
parent 269fe10231
commit 83ef7c7593
3 changed files with 11 additions and 31 deletions

View File

@ -1,5 +1,7 @@
#include <stdlib.h>
#include <linux/firewire-constants.h>
#include <stdio.h>
#include <stdlib.h>
#include "list.h"
#include "nosy-dump.h"
@ -176,7 +178,7 @@ decode_fcp(struct link_transaction *t)
((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) {