Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4998
b: refs/heads/master
c: 7f602c5
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Jul 11, 2005
1 parent 94a5231 commit b8a8bc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5990120252539bccdaf70a66ac021966e80e3f7
refs/heads/master: 7f602c53939fdb1bca12151a28f9b90cde046fb1
1 change: 1 addition & 0 deletions trunk/drivers/scsi/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE] = {
"Unknown ",
"RAID ",
"Enclosure ",
"Direct-Access-RBC",
};
EXPORT_SYMBOL(scsi_device_types);

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern const unsigned char scsi_command_size[8];
* SCSI device types
*/

#define MAX_SCSI_DEVICE_CODE 14
#define MAX_SCSI_DEVICE_CODE 15
extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE];

/*
Expand Down Expand Up @@ -211,8 +211,8 @@ static inline int scsi_status_is_good(int status)
* - treated as TYPE_DISK */
#define TYPE_MEDIUM_CHANGER 0x08
#define TYPE_COMM 0x09 /* Communications device */
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
#define TYPE_RAID 0x0c
#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
#define TYPE_RBC 0x0e
#define TYPE_NO_LUN 0x7f

Expand Down

0 comments on commit b8a8bc7

Please sign in to comment.