Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173591
b: refs/heads/master
c: f57e450
h: refs/heads/master
i:
  173589: d4aefdd
  173587: 0d14112
  173583: 54073fb
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed Dec 4, 2009
1 parent b0d04b7 commit 277bc8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 54a3b30e758ec90c5cf860637e28b2d1142af18e
refs/heads/master: f57e4502cea471c69782d4790c71d8414ab49a9d
1 change: 1 addition & 0 deletions trunk/drivers/scsi/constants.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static const struct value_name_pair serv_out12_arr[] = {
static const struct value_name_pair serv_in16_arr[] = {
{0x10, "Read capacity(16)"},
{0x11, "Read long(16)"},
{0x12, "Get LBA status"},
};
#define SERV_IN16_SZ ARRAY_SIZE(serv_in16_arr)

Expand Down
4 changes: 4 additions & 0 deletions trunk/include/scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ struct scsi_cmnd;
#define WRITE_LONG 0x3f
#define CHANGE_DEFINITION 0x40
#define WRITE_SAME 0x41
#define UNMAP 0x42
#define READ_TOC 0x43
#define LOG_SELECT 0x4c
#define LOG_SENSE 0x4d
Expand Down Expand Up @@ -122,16 +123,19 @@ struct scsi_cmnd;
#define READ_16 0x88
#define WRITE_16 0x8a
#define VERIFY_16 0x8f
#define WRITE_SAME_16 0x93
#define SERVICE_ACTION_IN 0x9e
/* values for service action in */
#define SAI_READ_CAPACITY_16 0x10
#define SAI_GET_LBA_STATUS 0x12
/* values for maintenance in */
#define MI_REPORT_TARGET_PGS 0x0a
/* values for maintenance out */
#define MO_SET_TARGET_PGS 0x0a
/* values for variable length command */
#define READ_32 0x09
#define WRITE_32 0x0b
#define WRITE_SAME_32 0x0d

/* Values for T10/04-262r7 */
#define ATA_16 0x85 /* 16-byte pass-thru */
Expand Down

0 comments on commit 277bc8b

Please sign in to comment.