Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cdd75bd4
Commit
cdd75bd4
authored
Aug 08, 2005
by
Tobias Gruetzmacher
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverse the direction of raw SCSI commands.
parent
91358d76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cdrom.c
dlls/ntdll/cdrom.c
+4
-4
No files found.
dlls/ntdll/cdrom.c
View file @
cdd75bd4
...
@@ -1470,10 +1470,10 @@ static NTSTATUS CDROM_ScsiPassThroughDirect(int fd, PSCSI_PASS_THROUGH_DIRECT pP
...
@@ -1470,10 +1470,10 @@ static NTSTATUS CDROM_ScsiPassThroughDirect(int fd, PSCSI_PASS_THROUGH_DIRECT pP
switch
(
pPacket
->
DataIn
)
switch
(
pPacket
->
DataIn
)
{
{
case
SCSI_IOCTL_DATA_IN
:
case
SCSI_IOCTL_DATA_IN
:
cmd
.
dxfer_direction
=
SG_DXFER_
TO
_DEV
;
cmd
.
dxfer_direction
=
SG_DXFER_
FROM
_DEV
;
break
;
break
;
case
SCSI_IOCTL_DATA_OUT
:
case
SCSI_IOCTL_DATA_OUT
:
cmd
.
dxfer_direction
=
SG_DXFER_
FROM
_DEV
;
cmd
.
dxfer_direction
=
SG_DXFER_
TO
_DEV
;
break
;
break
;
case
SCSI_IOCTL_DATA_UNSPECIFIED
:
case
SCSI_IOCTL_DATA_UNSPECIFIED
:
cmd
.
dxfer_direction
=
SG_DXFER_NONE
;
cmd
.
dxfer_direction
=
SG_DXFER_NONE
;
...
@@ -1593,10 +1593,10 @@ static NTSTATUS CDROM_ScsiPassThrough(int fd, PSCSI_PASS_THROUGH pPacket)
...
@@ -1593,10 +1593,10 @@ static NTSTATUS CDROM_ScsiPassThrough(int fd, PSCSI_PASS_THROUGH pPacket)
switch
(
pPacket
->
DataIn
)
switch
(
pPacket
->
DataIn
)
{
{
case
SCSI_IOCTL_DATA_IN
:
case
SCSI_IOCTL_DATA_IN
:
cmd
.
dxfer_direction
=
SG_DXFER_
TO
_DEV
;
cmd
.
dxfer_direction
=
SG_DXFER_
FROM
_DEV
;
break
;
break
;
case
SCSI_IOCTL_DATA_OUT
:
case
SCSI_IOCTL_DATA_OUT
:
cmd
.
dxfer_direction
=
SG_DXFER_
FROM
_DEV
;
cmd
.
dxfer_direction
=
SG_DXFER_
TO
_DEV
;
break
;
break
;
case
SCSI_IOCTL_DATA_UNSPECIFIED
:
case
SCSI_IOCTL_DATA_UNSPECIFIED
:
cmd
.
dxfer_direction
=
SG_DXFER_NONE
;
cmd
.
dxfer_direction
=
SG_DXFER_NONE
;
...
...
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