]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
firewire: fix synchronization of gap counts
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 24 Mar 2008 19:57:12 +0000 (20:57 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:36 +0000 (17:55 +0200)
commit25b1c3d8889f982ebc6c7b996cfc7fa5f1dce533
tree1af972dbd20246573115769af3b6baa9d489fdab
parent2a0a2590498be7b92e3e76409c9b8ee722e23c8f
firewire: fix synchronization of gap counts

Fix:  The fact that nodes had different gap counts would be overlooked
if the bus manager code would pick gap count 63 because of beta
repeaters or because of very large hop counts.  In this case, the bus
manager code would miss that it actually has to send the PHY config
packet with gap count 63.

Related trivial changes:  Use bool for an int used as bool, touch up
some comments.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c
drivers/firewire/fw-topology.c