]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: core: increase default SPLIT_TIMEOUT value
authorClemens Ladisch <clemens@ladisch.de>
Mon, 7 Mar 2011 10:21:15 +0000 (11:21 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 20 Mar 2011 15:45:24 +0000 (16:45 +0100)
commitc72469516594581c858d590de96311a0082dfbeb
treeea2852c5436fab65afbebaf696a0db5b8d0dcf1e
parente8a885ef6cf8791cc4c0e79f70bec5c76d145240
firewire: core: increase default SPLIT_TIMEOUT value

The SPLIT_TIMEOUT mechanism is intended to detect requests that somehow
got lost.  However, when the timeout value is too low, transactions that
could have been completed successfully will be cancelled.  Furthermore,
there are chips whose firmwares ignore the configured split timeout and
send late split response; known examples are the DM1x00 (BeBoB), TCD22x0
(DICE), and some OXUF936QSE firmwares.

This patch changes the default timeout to two seconds, which happens to
be the default on other OSes, too.

Actual lost requests are extremely rare, so there should be no practical
downside to increasing the split timeout even on devices that work
correctly.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-card.c