summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-09-21 14:39:31 +0000
committermav <mav@FreeBSD.org>2014-09-21 14:39:31 +0000
commitaa335f6556c9795b0e4dbe2f23b03824c0dbeee1 (patch)
tree2a848bacf363eab9e67d9548c21a7f7261cb5702
parent3f03c0773498f6fb67d942b4fd3e796f36c0ca63 (diff)
downloadFreeBSD-src-aa335f6556c9795b0e4dbe2f23b03824c0dbeee1.zip
FreeBSD-src-aa335f6556c9795b0e4dbe2f23b03824c0dbeee1.tar.gz
Allow SUBPAGE CODE field in MODE SENSE commands.
-rw-r--r--sys/cam/ctl/ctl_cmd_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl_cmd_table.c b/sys/cam/ctl/ctl_cmd_table.c
index 0f9e9d1..675ab22 100644
--- a/sys/cam/ctl/ctl_cmd_table.c
+++ b/sys/cam/ctl/ctl_cmd_table.c
@@ -636,7 +636,7 @@ const struct ctl_cmd_entry ctl_cmd_table[256] =
CTL_CMD_FLAG_OK_ON_SECONDARY |
CTL_FLAG_DATA_IN |
CTL_CMD_FLAG_ALLOW_ON_PR_RESV,
- CTL_LUN_PAT_NONE, 6, {0x08, 0xff, 0, 0xff, 0x07}},
+ CTL_LUN_PAT_NONE, 6, {0x08, 0xff, 0xff, 0xff, 0x07}},
/* 1B START STOP UNIT */
{ctl_start_stop, CTL_SERIDX_START, CTL_CMD_FLAG_OK_ON_SLUN |
@@ -890,7 +890,7 @@ const struct ctl_cmd_entry ctl_cmd_table[256] =
CTL_CMD_FLAG_OK_ON_SECONDARY |
CTL_FLAG_DATA_IN |
CTL_CMD_FLAG_ALLOW_ON_PR_RESV,
- CTL_LUN_PAT_NONE, 10, {0x18, 0xff, 0, 0, 0, 0, 0xff, 0xff, 0x07} },
+ CTL_LUN_PAT_NONE, 10, {0x18, 0xff, 0xff, 0, 0, 0, 0xff, 0xff, 0x07} },
/* 5B CLOSE TRACK/SESSION */
{NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
OpenPOWER on IntegriCloud