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
19dfbb50
Commit
19dfbb50
authored
Feb 25, 2004
by
Brian King
Committed by
James Bottomley
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] SCSI: Recognize device type 0x0C
Device type 0x0C is RAID, so show it as such
parent
a33161f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+1
-1
include/scsi/scsi.h
include/scsi/scsi.h
+1
-0
No files found.
drivers/scsi/scsi.c
View file @
19dfbb50
...
...
@@ -104,7 +104,7 @@ const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] = {
"Communications "
,
"Unknown "
,
"Unknown "
,
"
Unknown
"
,
"
RAID
"
,
"Enclosure "
,
};
...
...
include/scsi/scsi.h
View file @
19dfbb50
...
...
@@ -200,6 +200,7 @@ static inline int scsi_status_is_good(int status)
#define TYPE_MEDIUM_CHANGER 0x08
#define TYPE_COMM 0x09
/* Communications device */
#define TYPE_ENCLOSURE 0x0d
/* Enclosure Services Device */
#define TYPE_RAID 0x0c
#define TYPE_NO_LUN 0x7f
/*
...
...
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