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
c1ac7336
Commit
c1ac7336
authored
Aug 17, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make <scsi/scsi.h> include the right headers and use the right types.
parent
8e0a8d27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
include/scsi/scsi.h
include/scsi/scsi.h
+14
-12
No files found.
include/scsi/scsi.h
View file @
c1ac7336
...
...
@@ -6,6 +6,8 @@
* the scsi code for linux.
*/
#include <linux/types.h>
/*
$Header: /usr/src/linux/include/linux/RCS/scsi.h,v 1.3 1993/09/24 12:20:33 drew Exp $
...
...
@@ -208,18 +210,18 @@ static inline int scsi_status_is_good(int status)
struct
ccs_modesel_head
{
u_char
_r1
;
/* reserved */
u_char
medium
;
/* device-specific medium type */
u_char
_r2
;
/* reserved */
u_char
block_desc_length
;
/* block descriptor length */
u_char
density
;
/* device-specific density code */
u_char
number_blocks_hi
;
/* number of blocks in this block desc */
u_char
number_blocks_med
;
u_char
number_blocks_lo
;
u_char
_r3
;
u_char
block_length_hi
;
/* block length for blocks in this desc */
u_char
block_length_med
;
u_char
block_length_lo
;
u8
_r1
;
/* reserved */
u8
medium
;
/* device-specific medium type */
u8
_r2
;
/* reserved */
u8
block_desc_length
;
/* block descriptor length */
u8
density
;
/* device-specific density code */
u8
number_blocks_hi
;
/* number of blocks in this block desc */
u8
number_blocks_med
;
u8
number_blocks_lo
;
u8
_r3
;
u8
block_length_hi
;
/* block length for blocks in this desc */
u8
block_length_med
;
u8
block_length_lo
;
};
/*
...
...
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