aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-05-24 10:41:09 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-07-14 07:06:03 -0400
commite534fe16b987780744da351acece2a4699783096 (patch)
treefdeafe1851b2b40b3def1f4135a7fc847deb595a /drivers/firewire/fw-transaction.h
parent435f972697fcd4c424db941f0ea8f2e38eda2b39 (diff)
firewire: implement broadcast_channel CSR for 1394a compliance
See IEEE 1394a clause 8.3.2.3.11. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r--drivers/firewire/fw-transaction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 04d3854f6560..f3a493d596cc 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -80,6 +80,9 @@
80#define CSR_SPEED_MAP 0x2000 80#define CSR_SPEED_MAP 0x2000
81#define CSR_SPEED_MAP_END 0x3000 81#define CSR_SPEED_MAP_END 0x3000
82 82
83#define BROADCAST_CHANNEL_INITIAL (1 << 31 | 31)
84#define BROADCAST_CHANNEL_VALID (1 << 30)
85
83#define fw_notify(s, args...) printk(KERN_NOTICE KBUILD_MODNAME ": " s, ## args) 86#define fw_notify(s, args...) printk(KERN_NOTICE KBUILD_MODNAME ": " s, ## args)
84#define fw_error(s, args...) printk(KERN_ERR KBUILD_MODNAME ": " s, ## args) 87#define fw_error(s, args...) printk(KERN_ERR KBUILD_MODNAME ": " s, ## args)
85 88
@@ -236,6 +239,7 @@ struct fw_card {
236 */ 239 */
237 int self_id_count; 240 int self_id_count;
238 u32 topology_map[252 + 3]; 241 u32 topology_map[252 + 3];
242 u32 broadcast_channel;
239 243
240 spinlock_t lock; /* Take this lock when handling the lists in 244 spinlock_t lock; /* Take this lock when handling the lists in
241 * this struct. */ 245 * this struct. */