mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
- D_SENSE value corrected
- REPORT DENSITY SUPPORT command added git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user