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
56b0939e
Commit
56b0939e
authored
Nov 09, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move scsi_command_size from winescsi.h to SCSI_Fix_CMD_LEN(), its only
user.
parent
6c7d5f50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
aspi.c
dlls/winaspi/aspi.c
+7
-0
winescsi.h
dlls/winaspi/winescsi.h
+0
-7
No files found.
dlls/winaspi/aspi.c
View file @
56b0939e
...
...
@@ -306,6 +306,13 @@ linux_hack:
void
SCSI_Fix_CMD_LEN
(
int
fd
,
int
cmd
,
int
len
)
{
/* This is what the linux kernel thinks.... */
static
const
unsigned
char
scsi_command_size
[
8
]
=
{
6
,
10
,
10
,
12
,
12
,
12
,
10
,
10
};
int
index
=
(
cmd
>>
5
)
&
7
;
if
(
len
!=
scsi_command_size
[
index
])
...
...
dlls/winaspi/winescsi.h
View file @
56b0939e
...
...
@@ -26,13 +26,6 @@
#define SG_NEXT_CMD_LEN 0x2283
/* override SCSI command length with given
number on the next write() on this file descriptor */
/* This is what the linux kernel thinks.... */
static
const
unsigned
char
scsi_command_size
[
8
]
=
{
6
,
10
,
10
,
12
,
12
,
12
,
10
,
10
};
struct
sg_header
{
int
pack_len
;
/* [o] reply_len (ie useless), ignored as input */
...
...
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