SCSI: Fix for "changeable" mode pages

This is supposed to be a bit field of the fields that can be changed by
MODE SELECT. Since we don't support changing mode pages (yet), we should
report that fact correctly
This commit is contained in:
darkstar
2018-10-03 21:20:27 +02:00
parent 96ce38fa64
commit b38db9e9d6

View File

@@ -177,11 +177,11 @@ static const mode_sense_pages_t scsi_hd_mode_sense_pages_default = {
};
static const mode_sense_pages_t scsi_hd_mode_sense_pages_changeable = {
{ [0x03] = { 0x03, 0x16, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
{ [0x03] = { 0x03, 0x16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
[0x04] = { 0x04, 0x16, 0, 0x10, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0, 0
[0x04] = { 0x04, 0x16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
[0x30] = { 0xB0, 0x16, '8', '6', 'B', 'o', 'x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '
[0x30] = { 0xB0, 0x16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
}
};