Strangely, a couple of MMC commands were never included. Add them too.
Cc: "James E.J. Bottomley" <[email protected]>
Cc: [email protected]
Cc: Jens Axboe <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
---
block/scsi_ioctl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index 084b943..ec930f0 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -220,11 +220,14 @@ static void blk_set_cmd_filter_defaults(struct
blk_cmd_filter *filter)
sgio_bitmap_set(0x52, R , read); // READ
TRACK INFORMATION
sgio_bitmap_set(0x5C, R , read); // READ
BUFFER CAPACITY
sgio_bitmap_set(0xA4, R , read); //
REPORT KEY
+ sgio_bitmap_set(0xA5, R , read); // PLAY
AUDIO(12)
+ sgio_bitmap_set(0xAB, R| V , read); //
SERVICE ACTION IN(12)
sgio_bitmap_set(0xAC, R , read); // GET
PERFORMANCE
sgio_bitmap_set(0xAD, R , read); // READ
DVD STRUCTURE
sgio_bitmap_set(0xB9, R , read); // READ
CD MSF
sgio_bitmap_set(0xBA, R , read); // SCAN
sgio_bitmap_set(0xBC, R , read); // PLAY
CD
+ sgio_bitmap_set(0xBD, R , read); //
MECHANISM STATUS
sgio_bitmap_set(0xBE, R , read); // READ
CD
sgio_bitmap_set(0x53, D| R , write); //
RESERVE TRACK / XDWRITEREAD(10)
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/