summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-06 13:23:37 +0000
committermav <mav@FreeBSD.org>2014-10-06 13:23:37 +0000
commit9189486c50de8e241d34aede36bebce0a09105fc (patch)
treed35b9930ac3fea5a39bd16912a49451e4f12d905
parentd2190500908ca7acedea6a1e3bd7b1daa5080b3f (diff)
downloadFreeBSD-src-9189486c50de8e241d34aede36bebce0a09105fc.zip
FreeBSD-src-9189486c50de8e241d34aede36bebce0a09105fc.tar.gz
MFC r271930: 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