summaryrefslogtreecommitdiff
path: root/include/linux/firewire.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-06-10 08:35:37 +0200
committerClemens Ladisch <clemens@ladisch.de>2010-06-10 08:35:37 +0200
commit3d1f46eb60b155c705e389ecdf313f11b4b91976 (patch)
tree6a28e68a7372d49f172f73a2c30e1a72dd124ffa /include/linux/firewire.h
parenta1a1132bd83d0aea51d4f19be4b4a58a064a0131 (diff)
downloadlwn-3d1f46eb60b155c705e389ecdf313f11b4b91976.tar.gz
lwn-3d1f46eb60b155c705e389ecdf313f11b4b91976.zip
firewire: core: add CSR MAINT_UTILITY support
Implement the MAIN_UTILITY register, which is utterly optional but useful as a safe target for diagnostic read/write/broadcast transactions. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include/linux/firewire.h')
-rw-r--r--include/linux/firewire.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h
index a50377d91254..f1160e831dad 100644
--- a/include/linux/firewire.h
+++ b/include/linux/firewire.h
@@ -38,6 +38,7 @@
#define CSR_CHANNELS_AVAILABLE 0x224
#define CSR_CHANNELS_AVAILABLE_HI 0x224
#define CSR_CHANNELS_AVAILABLE_LO 0x228
+#define CSR_MAINT_UTILITY 0x230
#define CSR_BROADCAST_CHANNEL 0x234
#define CSR_CONFIG_ROM 0x400
#define CSR_CONFIG_ROM_END 0x800
@@ -122,6 +123,8 @@ struct fw_card {
bool broadcast_channel_allocated;
u32 broadcast_channel;
__be32 topology_map[(CSR_TOPOLOGY_MAP_END - CSR_TOPOLOGY_MAP) / 4];
+
+ __be32 maint_utility_register;
};
struct fw_attribute_group {