aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osst.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-12-13 10:55:18 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 13:58:10 -0400
commit26243043f207b3faa00594a33e10b2103205f27b (patch)
tree0be6196be00ee0f3ded7ec0244136a27fdc04304 /drivers/scsi/osst.h
parent78a42ce8fb2604c459e9ebb2a4f2d546b8250111 (diff)
[SCSI] osst: replace scsi_execute_async with the block layer API
This replaces scsi_execute_async with the block layer API. st does the same thing so it might make sense to have something like libst (there are other things that os and osst can share). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Willem Riede <osst@riede.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/osst.h')
-rw-r--r--drivers/scsi/osst.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/osst.h b/drivers/scsi/osst.h
index 5aa22740b5df..11d26c57f3f8 100644
--- a/drivers/scsi/osst.h
+++ b/drivers/scsi/osst.h
@@ -520,6 +520,7 @@ struct osst_buffer {
520 int syscall_result; 520 int syscall_result;
521 struct osst_request *last_SRpnt; 521 struct osst_request *last_SRpnt;
522 struct st_cmdstatus cmdstat; 522 struct st_cmdstatus cmdstat;
523 struct rq_map_data map_data;
523 unsigned char *b_data; 524 unsigned char *b_data;
524 os_aux_t *aux; /* onstream AUX structure at end of each block */ 525 os_aux_t *aux; /* onstream AUX structure at end of each block */
525 unsigned short use_sg; /* zero or number of s/g segments for this adapter */ 526 unsigned short use_sg; /* zero or number of s/g segments for this adapter */
@@ -634,6 +635,7 @@ struct osst_request {
634 int result; 635 int result;
635 struct osst_tape *stp; 636 struct osst_tape *stp;
636 struct completion *waiting; 637 struct completion *waiting;
638 struct bio *bio;
637}; 639};
638 640
639/* Values of write_type */ 641/* Values of write_type */