]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: fw-sbp2: wait for completion of fetch agent reset
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 3 Feb 2008 22:08:58 +0000 (23:08 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 16 Feb 2008 14:40:34 +0000 (15:40 +0100)
commit60e3c1714cdf1b8631f8b4997149125a9419024d
tree654aa22d8d13692fe8aa30ea9cd7301fccdb5e67
parent3e9ac285fe6002d29136e08bc504d69d8b23d56d
firewire: fw-sbp2: wait for completion of fetch agent reset

Like the old sbp2 driver, wait for the write transaction to the
AGENT_RESET to complete before proceeding (after login, after reconnect,
or in SCSI error handling).

There is one occasion where AGENT_RESET is written to from atomic
context when getting DEAD status for a command ORB.  There we still
continue without waiting for the transaction to complete because this
is more difficult to fix...

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