diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 4bde8461a..c0c424f3a 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -1257,7 +1257,7 @@ static int vdisk_caching_pg(unsigned char *p, int pcontrol, static int vdisk_ctrl_m_pg(unsigned char *p, int pcontrol, struct scst_vdisk_dev *virt_dev) { /* Control mode page for mode_sense */ - const unsigned char ctrl_m_pg[] = {0xa, 0xa, 0x22, 0, 0, 0x40, 0, 0, + const unsigned char ctrl_m_pg[] = {0xa, 0xa, 0x20, 0, 0, 0x40, 0, 0, 0, 0, 0x2, 0x4b}; memcpy(p, ctrl_m_pg, sizeof(ctrl_m_pg)); diff --git a/scst/src/scst_cdbprobe.h b/scst/src/scst_cdbprobe.h index b8e95c0b6..deb430cc3 100644 --- a/scst/src/scst_cdbprobe.h +++ b/scst/src/scst_cdbprobe.h @@ -297,6 +297,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = { SCST_DATA_READ, FLAG_NONE, 7, get_trans_len_2}, {0x43, " O ", "READ TOC/PMA/ATIP", SCST_DATA_READ, FLAG_NONE, 7, get_trans_len_2}, + {0x44, " M ", "REPORT DENSITY SUPPORT", + SCST_DATA_READ, FLAG_NONE, 7, get_trans_len_2}, {0x44, " O ", "READ HEADER", SCST_DATA_READ, FLAG_NONE, 7, get_trans_len_2}, {0x45, " O ", "PLAY AUDIO(10)",