diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 17:04:37 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-11 17:04:37 -0500 |
| commit | d72d6f1b5647258e83819b51f72fe37e2b7d7965 (patch) | |
| tree | d3a08af50624d9b3e2287367b7e9f5fcc93bdce5 /include/scsi | |
| parent | 33ddcbbfb1d9f1bf1259531ae0ba8400ea3c8ba1 (diff) | |
| parent | 8a87a0b6313109d2fea87b1271d497c954ce2ca8 (diff) | |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6
Diffstat (limited to 'include/scsi')
| -rw-r--r-- | include/scsi/scsi_host.h | 7 | ||||
| -rw-r--r-- | include/scsi/scsi_request.h | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index ecd53d7872d2..6cbb1982ed03 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/workqueue.h> | 7 | #include <linux/workqueue.h> |
| 8 | 8 | ||
| 9 | struct block_device; | 9 | struct block_device; |
| 10 | struct completion; | ||
| 10 | struct module; | 11 | struct module; |
| 11 | struct scsi_cmnd; | 12 | struct scsi_cmnd; |
| 12 | struct scsi_device; | 13 | struct scsi_device; |
| @@ -467,10 +468,8 @@ struct Scsi_Host { | |||
| 467 | 468 | ||
| 468 | struct list_head eh_cmd_q; | 469 | struct list_head eh_cmd_q; |
| 469 | struct task_struct * ehandler; /* Error recovery thread. */ | 470 | struct task_struct * ehandler; /* Error recovery thread. */ |
| 470 | struct semaphore * eh_action; /* Wait for specific actions on the | 471 | struct completion * eh_action; /* Wait for specific actions on the |
| 471 | host. */ | 472 | host. */ |
| 472 | unsigned int eh_active:1; /* Indicates the eh thread is awake and active if | ||
| 473 | this is true. */ | ||
| 474 | wait_queue_head_t host_wait; | 473 | wait_queue_head_t host_wait; |
| 475 | struct scsi_host_template *hostt; | 474 | struct scsi_host_template *hostt; |
| 476 | struct scsi_transport_template *transportt; | 475 | struct scsi_transport_template *transportt; |
diff --git a/include/scsi/scsi_request.h b/include/scsi/scsi_request.h index 2539debb7993..98d69fdb851c 100644 --- a/include/scsi/scsi_request.h +++ b/include/scsi/scsi_request.h | |||
| @@ -47,9 +47,6 @@ struct scsi_request { | |||
| 47 | 47 | ||
| 48 | extern struct scsi_request *scsi_allocate_request(struct scsi_device *, gfp_t); | 48 | extern struct scsi_request *scsi_allocate_request(struct scsi_device *, gfp_t); |
| 49 | extern void scsi_release_request(struct scsi_request *); | 49 | extern void scsi_release_request(struct scsi_request *); |
| 50 | extern void scsi_wait_req(struct scsi_request *, const void *cmnd, | ||
| 51 | void *buffer, unsigned bufflen, | ||
| 52 | int timeout, int retries); | ||
| 53 | extern void scsi_do_req(struct scsi_request *, const void *cmnd, | 50 | extern void scsi_do_req(struct scsi_request *, const void *cmnd, |
| 54 | void *buffer, unsigned bufflen, | 51 | void *buffer, unsigned bufflen, |
| 55 | void (*done) (struct scsi_cmnd *), | 52 | void (*done) (struct scsi_cmnd *), |
