Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8ac3a47c
Commit
8ac3a47c
authored
Jan 27, 2008
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewire: fw-sbp2: relax SCSI DMA alignment
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
1dc3bea7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-sbp2.c
+2
-5
No files found.
drivers/firewire/fw-sbp2.c
View file @
8ac3a47c
...
...
@@ -1518,11 +1518,8 @@ static int sbp2_scsi_slave_alloc(struct scsi_device *sdev)
sdev
->
allow_restart
=
1
;
/*
* Update the dma alignment (minimum alignment requirements for
* start and end of DMA transfers) to be a sector
*/
blk_queue_update_dma_alignment
(
sdev
->
request_queue
,
511
);
/* SBP-2 requires quadlet alignment of the data buffers. */
blk_queue_update_dma_alignment
(
sdev
->
request_queue
,
4
-
1
);
if
(
lu
->
tgt
->
workarounds
&
SBP2_WORKAROUND_INQUIRY_36
)
sdev
->
inquiry_len
=
36
;
...
...
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