diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-13 18:39:36 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 16:24:46 -0400 |
commit | 85ce928dbb87585042e7dfebe513f724eadebd5e (patch) | |
tree | 121604b0dfe16ea282b378901e1b00d85f215f97 /drivers/scsi/bfa/bfi_ms.h | |
parent | 4d08e731bd6e3c5fd0b65bcfba22dc159fec3487 (diff) |
[SCSI] bfa: Introduced generic address len pair to represent DMA memory chunk.
- Avoid the use of hardware defined structure bfi_sge_s for DMA
requests in host.
- Defined a generic address len pair to represent a DMA memory chunk
(bfi_alen_s).
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi_ms.h')
-rw-r--r-- | drivers/scsi/bfa/bfi_ms.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h index 19e888a57555..a29d905fe8c0 100644 --- a/drivers/scsi/bfa/bfi_ms.h +++ b/drivers/scsi/bfa/bfi_ms.h | |||
@@ -297,8 +297,8 @@ struct bfi_fcxp_send_req_s { | |||
297 | struct fchs_s fchs; /* request FC header structure */ | 297 | struct fchs_s fchs; /* request FC header structure */ |
298 | __be32 req_len; /* request payload length */ | 298 | __be32 req_len; /* request payload length */ |
299 | __be32 rsp_maxlen; /* max response length expected */ | 299 | __be32 rsp_maxlen; /* max response length expected */ |
300 | struct bfi_sge_s req_sge[BFA_FCXP_MAX_SGES]; /* request buf */ | 300 | struct bfi_alen_s req_alen; /* request buffer */ |
301 | struct bfi_sge_s rsp_sge[BFA_FCXP_MAX_SGES]; /* response buf */ | 301 | struct bfi_alen_s rsp_alen; /* response buffer */ |
302 | }; | 302 | }; |
303 | 303 | ||
304 | /* | 304 | /* |
@@ -328,7 +328,7 @@ struct bfi_uf_buf_post_s { | |||
328 | struct bfi_mhdr_s mh; /* Common msg header */ | 328 | struct bfi_mhdr_s mh; /* Common msg header */ |
329 | u16 buf_tag; /* buffer tag */ | 329 | u16 buf_tag; /* buffer tag */ |
330 | __be16 buf_len; /* total buffer length */ | 330 | __be16 buf_len; /* total buffer length */ |
331 | struct bfi_sge_s sge[BFA_UF_MAX_SGES]; /* buffer DMA SGEs */ | 331 | struct bfi_alen_s alen; /* buffer address/len pair */ |
332 | }; | 332 | }; |
333 | 333 | ||
334 | struct bfi_uf_frm_rcvd_s { | 334 | struct bfi_uf_frm_rcvd_s { |