]> rtime.felk.cvut.cz Git - linux-imx.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)
commitdd5eeb99f47d18c05efffcd247c0aa07eaa9ffaa
treeea2852c5436fab65afbebaf696a0db5b8d0dcf1e
parentd838d2c09af0820e306e3e9e31f97e873823b0b4
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