]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: core: don't update Broadcast_Channel if RFC 2734 conditions aren't met
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 9 Jun 2009 21:56:55 +0000 (23:56 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 14 Jun 2009 09:57:06 +0000 (11:57 +0200)
commitc836378d55d34670e66d48f53d0dddcb968967bb
tree813a25088e68dc734966ce5ed4aacada01084996
parent62d34dd7f6dc9109ea2a6931cf2842e84b4a379c
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>
drivers/firewire/core-device.c
include/linux/firewire.h