aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/sbp2.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-07-23 16:19:00 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-09-17 13:29:31 -0400
commite8398bb737ceadff8825aa98cb9f4a5e96857546 (patch)
tree049eb24f1e8c2277160b58237443a7cf056325b7 /drivers/ieee1394/sbp2.h
parent6065772d54a3b994b9b5d3df6413ec6a1c8c2ec1 (diff)
ieee1394: sbp2: convert sbp2util_down_timeout to waitqueue
The waitqueue API is used to replace a custom wait mechanism. Only one global waitqueue (instead of per-device waitqueues or completions) is added because there is usually just one waiter. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/sbp2.h')
-rw-r--r--drivers/ieee1394/sbp2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/sbp2.h b/drivers/ieee1394/sbp2.h
index 34e3d37fc79f..89098fe565e9 100644
--- a/drivers/ieee1394/sbp2.h
+++ b/drivers/ieee1394/sbp2.h
@@ -320,9 +320,9 @@ struct scsi_id_instance_data {
320 u64 status_fifo_addr; 320 u64 status_fifo_addr;
321 321
322 /* 322 /*
323 * Variable used for logins, reconnects, logouts, query logins 323 * Waitqueue flag for logins, reconnects, logouts, query logins
324 */ 324 */
325 atomic_t sbp2_login_complete; 325 int access_complete:1;
326 326
327 /* 327 /*
328 * Pool of command orbs, so we can have more than overlapped command per id 328 * Pool of command orbs, so we can have more than overlapped command per id