]> err.no Git - linux-2.6/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)
commite0e60215552d4d40caf581a8d3247203fe948fe7
tree654aa22d8d13692fe8aa30ea9cd7301fccdb5e67
parentd94a983526cb868658c958ab689410dc1c6a31f3
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