From: <vl...@us...> - 2007-03-07 17:10:57
|
Revision: 102 http://svn.sourceforge.net/scst/?rev=102&view=rev Author: vlnb Date: 2007-03-07 09:10:45 -0800 (Wed, 07 Mar 2007) Log Message: ----------- - D_SENSE value corrected - REPORT DENSITY SUPPORT command added Modified Paths: -------------- trunk/scst/src/dev_handlers/scst_vdisk.c trunk/scst/src/scst_cdbprobe.h Modified: trunk/scst/src/dev_handlers/scst_vdisk.c =================================================================== --- trunk/scst/src/dev_handlers/scst_vdisk.c 2007-03-02 16:29:36 UTC (rev 101) +++ trunk/scst/src/dev_handlers/scst_vdisk.c 2007-03-07 17:10:45 UTC (rev 102) @@ -1257,7 +1257,7 @@ 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)); Modified: trunk/scst/src/scst_cdbprobe.h =================================================================== --- trunk/scst/src/scst_cdbprobe.h 2007-03-02 16:29:36 UTC (rev 101) +++ trunk/scst/src/scst_cdbprobe.h 2007-03-07 17:10:45 UTC (rev 102) @@ -297,6 +297,8 @@ 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)", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |