]> git.baikalelectronics.ru Git - kernel.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)
commit6cb00fe955d2942589a22bca7cba715a1aa914ad
tree1af972dbd20246573115769af3b6baa9d489fdab
parenta32dcdbc73441f1882037af97b5f1cbaefab52b3
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