aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-12-18 00:49:40 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-02 12:54:23 -0500
commitd0e1ae31be226e83cdd0684625bf1535518ee0d3 (patch)
tree622c951efedb4c0e515202c0e0f2d34ae3aa4244 /drivers/scsi/st.h
parent9c905966c4d8c03ea21d230b277b7ea1e492f3c9 (diff)
[SCSI] st: add struct rq_map_data support
This adds struct rq_map_data and the array of pointers to store fragment buffers to struct st_buffer. This patch doesn't remove st_buf_fragment but the latter patch does. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Kai Makisara <Kai.Makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/st.h')
-rw-r--r--drivers/scsi/st.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
index b92712f95931..74748abe8246 100644
--- a/drivers/scsi/st.h
+++ b/drivers/scsi/st.h
@@ -44,6 +44,8 @@ struct st_buffer {
44 int syscall_result; 44 int syscall_result;
45 struct st_request *last_SRpnt; 45 struct st_request *last_SRpnt;
46 struct st_cmdstatus cmdstat; 46 struct st_cmdstatus cmdstat;
47 struct page **reserved_pages;
48 struct rq_map_data map_data;
47 unsigned char *b_data; 49 unsigned char *b_data;
48 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ 50 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */
49 unsigned short sg_segs; /* number of segments in s/g list */ 51 unsigned short sg_segs; /* number of segments in s/g list */