Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ed17b031
Commit
ed17b031
authored
Jul 16, 2007
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fusion: sg chaining support
Signed-off-by:
Jens Axboe
<
jens.axboe@oracle.com
>
parent
1f6f31a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/message/fusion/mptscsih.c
drivers/message/fusion/mptscsih.c
+3
-3
No files found.
drivers/message/fusion/mptscsih.c
View file @
ed17b031
...
...
@@ -293,7 +293,7 @@ nextSGEset:
for
(
ii
=
0
;
ii
<
(
numSgeThisFrame
-
1
);
ii
++
)
{
thisxfer
=
sg_dma_len
(
sg
);
if
(
thisxfer
==
0
)
{
sg
++
;
/* Get next SG element from the OS */
sg
=
sg_next
(
sg
)
;
/* Get next SG element from the OS */
sg_done
++
;
continue
;
}
...
...
@@ -301,7 +301,7 @@ nextSGEset:
v2
=
sg_dma_address
(
sg
);
mptscsih_add_sge
(
psge
,
sgflags
|
thisxfer
,
v2
);
sg
++
;
/* Get next SG element from the OS */
sg
=
sg_next
(
sg
);
/* Get next SG element from the OS */
psge
+=
(
sizeof
(
u32
)
+
sizeof
(
dma_addr_t
));
sgeOffset
+=
(
sizeof
(
u32
)
+
sizeof
(
dma_addr_t
));
sg_done
++
;
...
...
@@ -322,7 +322,7 @@ nextSGEset:
v2
=
sg_dma_address
(
sg
);
mptscsih_add_sge
(
psge
,
sgflags
|
thisxfer
,
v2
);
/*
sg
++
;
sg
= sg_next(sg)
;
psge += (sizeof(u32) + sizeof(dma_addr_t));
*/
sgeOffset
+=
(
sizeof
(
u32
)
+
sizeof
(
dma_addr_t
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment