Date: Sun, 6 Jul 2014 06:12:30 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268306 - head/sys/cam/ctl Message-ID: <201407060612.s666CUYs096897@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sun Jul 6 06:12:29 2014 New Revision: 268306 URL: http://svnweb.freebsd.org/changeset/base/268306 Log: Relax some bit checks for INQUIRY command. FreeBSD still tries to put LUN number in second byte until it get device protocol version, even that it was obsoleted about 20 years ago. Modified: head/sys/cam/ctl/ctl_cmd_table.c Modified: head/sys/cam/ctl/ctl_cmd_table.c ============================================================================== --- head/sys/cam/ctl/ctl_cmd_table.c Sun Jul 6 03:31:01 2014 (r268305) +++ head/sys/cam/ctl/ctl_cmd_table.c Sun Jul 6 06:12:29 2014 (r268306) @@ -410,7 +410,7 @@ const struct ctl_cmd_entry ctl_cmd_table CTL_CMD_FLAG_OK_ON_SECONDARY | CTL_FLAG_DATA_IN | CTL_CMD_FLAG_ALLOW_ON_PR_RESV, - CTL_LUN_PAT_NONE, 6, {0x01, 0xff, 0xff, 0xff, 0x07}}, + CTL_LUN_PAT_NONE, 6, {0xe1, 0xff, 0xff, 0xff, 0x07}}, /* 13 */ {NULL, CTL_SERIDX_INVLD, CTL_CMD_FLAG_NONE, CTL_LUN_PAT_NONE},
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407060612.s666CUYs096897>