summaryrefslogtreecommitdiff
path: root/drivers/firewire/core.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-06-10 10:25:19 +0400
committerClemens Ladisch <clemens@ladisch.de>2010-06-10 10:25:19 +0400
commit506f1a31932747f56a5029d5b3c14b1b68f41ccc (patch)
tree04dfb94980fc95cfc2c458fc62e6b77996c8145b /drivers/firewire/core.h
parent60d32970c5a32e8c4f340a9e41993759ad658ef2 (diff)
downloadlinux-506f1a31932747f56a5029d5b3c14b1b68f41ccc.tar.xz
firewire: add CSR NODE_IDS support
The NODE_IDS register, and especially its bus_id field, is quite useless because 1394.1 requires that the bus_id field always stays 0x3ff. However, the 1394 specification requires this register on all transaction capable nodes, and the Base 1394 Test Suite tests for it, so we better implement it. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'drivers/firewire/core.h')
-rw-r--r--drivers/firewire/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/core.h b/drivers/firewire/core.h
index c19e9873e433..efcdeb2e31e6 100644
--- a/drivers/firewire/core.h
+++ b/drivers/firewire/core.h
@@ -76,6 +76,7 @@ struct fw_card_driver {
int node_id, int generation);
u32 (*read_csr_reg)(struct fw_card *card, int csr_offset);
+ void (*write_csr_reg)(struct fw_card *card, int csr_offset, u32 value);
struct fw_iso_context *
(*allocate_iso_context)(struct fw_card *card,