version 1.1.1.2, 2012/10/09 09:13:23
|
version 1.1.1.3, 2013/07/21 23:49:22
|
Line 1265 istgt_lu_dvd_scsi_mode_sense_page(ISTGT_LU_DVD *spec,
|
Line 1265 istgt_lu_dvd_scsi_mode_sense_page(ISTGT_LU_DVD *spec,
|
plen = 0x12 + 2; |
plen = 0x12 + 2; |
MODE_SENSE_PAGE_INIT(cp, plen, page, subpage); |
MODE_SENSE_PAGE_INIT(cp, plen, page, subpage); |
BDADD8(&cp[0], 1, 7); /* PS */ |
BDADD8(&cp[0], 1, 7); /* PS */ |
|
if (pc == 0x01) { |
|
// Changeable values |
|
BDADD8(&cp[2], 1, 2); /* WCE */ |
|
BDADD8(&cp[2], 1, 0); /* RCD */ |
|
len += plen; |
|
break; |
|
} |
BDADD8(&cp[2], 1, 2); /* WCE */ |
BDADD8(&cp[2], 1, 2); /* WCE */ |
//BDADD8(&cp[2], 1, 0); /* RCD */ |
//BDADD8(&cp[2], 1, 0); /* RCD */ |
if (spec->write_cache == 1) { |
if (spec->write_cache == 1) { |