diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-09 17:56:55 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-14 05:57:06 -0400 |
commit | 837ec787d85fda8d73193a399ebcea0288e4765b (patch) | |
tree | 813a25088e68dc734966ce5ed4aacada01084996 /include/linux/firewire.h | |
parent | 099d54143e49d49c33cd25779ca725191df59b73 (diff) |
firewire: core: don't update Broadcast_Channel if RFC 2734 conditions aren't met
This extra check will avoid Broadcast_Channel register related traffic
to many IIDC, SBP-2, and AV/C devices which aren't IRMC or have a
max_rec < 8 (i.e. support < 512 bytes async payload). This avoids a
little bit of traffic after bus reset and is even more careful with
devices which don't implement this CSR.
The assumption is that no other protocol than IP over 1394 uses the
broadcast channel for streams.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'include/linux/firewire.h')
-rw-r--r-- | include/linux/firewire.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index a69aea0394e3..610eade8abb4 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h | |||
@@ -191,7 +191,9 @@ struct fw_device { | |||
191 | size_t config_rom_length; | 191 | size_t config_rom_length; |
192 | int config_rom_retries; | 192 | int config_rom_retries; |
193 | unsigned is_local:1; | 193 | unsigned is_local:1; |
194 | unsigned max_rec:4; | ||
194 | unsigned cmc:1; | 195 | unsigned cmc:1; |
196 | unsigned irmc:1; | ||
195 | unsigned bc_implemented:2; | 197 | unsigned bc_implemented:2; |
196 | 198 | ||
197 | struct delayed_work work; | 199 | struct delayed_work work; |