Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88135
b: refs/heads/master
c: e52dcc4
h: refs/heads/master
i:
  88133: 2c8638e
  88131: db15cf3
  88127: ab9c127
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Apr 4, 2008
1 parent 60043ba commit e45d0b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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: 436d34b36202ef724778ded1e9cb10f8c37b32bc
refs/heads/master: e52dcc4899cf1b7601379c31542bd91cd2997a64
5 changes: 5 additions & 0 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,11 @@ int atapi_cmd_type(u8 opcode)
case GPCMD_READ_CD_MSF:
return ATAPI_READ_CD;

case ATA_16:
case ATA_12:
if (atapi_passthru16)
return ATAPI_PASS_THRU;
/* fall thru */
default:
return ATAPI_MISC;
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ enum {
ATAPI_READ = 0, /* READs */
ATAPI_WRITE = 1, /* WRITEs */
ATAPI_READ_CD = 2, /* READ CD [MSF] */
ATAPI_MISC = 3, /* the rest */
ATAPI_PASS_THRU = 3, /* SAT pass-thru */
ATAPI_MISC = 4, /* the rest */
};

enum ata_xfer_mask {
Expand Down

0 comments on commit e45d0b8

Please sign in to comment.