Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
dcc2d1e7
Commit
dcc2d1e7
authored
Nov 13, 2005
by
Mark Lord
Committed by
Jeff Garzik
Nov 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata passthru] address slave devices correctly
parent
e12a1be6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+6
-0
No files found.
drivers/scsi/libata-scsi.c
View file @
dcc2d1e7
...
...
@@ -2276,6 +2276,12 @@ ata_scsi_pass_thru(struct ata_queued_cmd *qc, const u8 *scsicmd)
tf
->
device
=
scsicmd
[
8
];
tf
->
command
=
scsicmd
[
9
];
}
/*
* If slave is possible, enforce correct master/slave bit
*/
if
(
qc
->
ap
->
flags
&
ATA_FLAG_SLAVE_POSS
)
tf
->
device
=
qc
->
dev
->
devno
?
tf
->
device
|
ATA_DEV1
:
tf
->
device
&
~
ATA_DEV1
;
/*
* Filter SET_FEATURES - XFER MODE command -- otherwise,
...
...
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