mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
Make qla2x00t support sg-chaining
Suggested by Nikolai Kopanygin <nikolai.kopanygin@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2305,7 +2305,7 @@ static void q2t_load_cont_data_segments(struct q2t_prm *prm)
|
||||
(long long unsigned int)pci_dma_lo32(sg_dma_address(prm->sg)),
|
||||
(int)sg_dma_len(prm->sg));
|
||||
|
||||
prm->sg++;
|
||||
prm->sg = sg_next_inline(prm->sg);
|
||||
}
|
||||
|
||||
TRACE_BUFFER("Continuation packet data",
|
||||
@@ -2367,7 +2367,7 @@ static void q2x_load_data_segments(struct q2t_prm *prm)
|
||||
(long long unsigned int)pci_dma_lo32(sg_dma_address(prm->sg)),
|
||||
(int)sg_dma_len(prm->sg));
|
||||
|
||||
prm->sg++;
|
||||
prm->sg = sg_next_inline(prm->sg);
|
||||
}
|
||||
|
||||
TRACE_BUFFER("Scatter/gather, CTIO packet data", pkt,
|
||||
@@ -2432,7 +2432,7 @@ static void q24_load_data_segments(struct q2t_prm *prm)
|
||||
prm->sg)),
|
||||
(int)sg_dma_len(prm->sg));
|
||||
|
||||
prm->sg++;
|
||||
prm->sg = sg_next_inline(prm->sg);
|
||||
}
|
||||
|
||||
q2t_load_cont_data_segments(prm);
|
||||
|
||||
Reference in New Issue
Block a user