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
70228731
Commit
70228731
authored
Apr 14, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] move some PIO state init to its proper place
parent
fdb36f50
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+1
-0
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+0
-1
No files found.
drivers/scsi/libata-core.c
View file @
70228731
...
@@ -2245,6 +2245,7 @@ struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap,
...
@@ -2245,6 +2245,7 @@ struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap,
qc
->
scsicmd
=
NULL
;
qc
->
scsicmd
=
NULL
;
qc
->
ap
=
ap
;
qc
->
ap
=
ap
;
qc
->
dev
=
dev
;
qc
->
dev
=
dev
;
qc
->
cursect
=
qc
->
cursg
=
qc
->
cursg_ofs
=
0
;
INIT_LIST_HEAD
(
&
qc
->
node
);
INIT_LIST_HEAD
(
&
qc
->
node
);
init_MUTEX_LOCKED
(
&
qc
->
sem
);
init_MUTEX_LOCKED
(
&
qc
->
sem
);
...
...
drivers/scsi/libata-scsi.c
View file @
70228731
...
@@ -223,7 +223,6 @@ static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc, u8 *scsicmd)
...
@@ -223,7 +223,6 @@ static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc, u8 *scsicmd)
struct
ata_taskfile
*
tf
=
&
qc
->
tf
;
struct
ata_taskfile
*
tf
=
&
qc
->
tf
;
unsigned
int
lba48
=
tf
->
flags
&
ATA_TFLAG_LBA48
;
unsigned
int
lba48
=
tf
->
flags
&
ATA_TFLAG_LBA48
;
qc
->
cursect
=
qc
->
cursg
=
qc
->
cursg_ofs
=
0
;
tf
->
flags
|=
ATA_TFLAG_ISADDR
|
ATA_TFLAG_DEVICE
;
tf
->
flags
|=
ATA_TFLAG_ISADDR
|
ATA_TFLAG_DEVICE
;
tf
->
hob_nsect
=
0
;
tf
->
hob_nsect
=
0
;
tf
->
hob_lbal
=
0
;
tf
->
hob_lbal
=
0
;
...
...
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