From owner-svn-src-stable-8@FreeBSD.ORG Sat Jun 19 00:39:19 2010 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7111065670; Sat, 19 Jun 2010 00:39:19 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1668FC08; Sat, 19 Jun 2010 00:39:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5J0dJTj019242; Sat, 19 Jun 2010 00:39:19 GMT (envelope-from mjacob@svn.freebsd.org) Received: (from mjacob@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5J0dJVh019240; Sat, 19 Jun 2010 00:39:19 GMT (envelope-from mjacob@svn.freebsd.org) Message-Id: <201006190039.o5J0dJVh019240@svn.freebsd.org> From: Matt Jacob Date: Sat, 19 Jun 2010 00:39:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209323 - stable/8/sys/dev/isp X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2010 00:39:19 -0000 Author: mjacob Date: Sat Jun 19 00:39:19 2010 New Revision: 209323 URL: http://svn.freebsd.org/changeset/base/209323 Log: This is an MFC of 208809 Make the internal target > SPC2 (so REPORT LUNS can be tested). Give the NIL inquiry data real values other than just plain 0x7f in the first byte. Modified: stable/8/sys/dev/isp/isp_freebsd.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/ixgbe/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/geom/sched/ (props changed) Modified: stable/8/sys/dev/isp/isp_freebsd.c ============================================================================== --- stable/8/sys/dev/isp/isp_freebsd.c Sat Jun 19 00:37:14 2010 (r209322) +++ stable/8/sys/dev/isp/isp_freebsd.c Sat Jun 19 00:39:19 2010 (r209323) @@ -3035,9 +3035,15 @@ isptargnotify(ispsoftc_t *isp, union ccb static void isptargstart(struct cam_periph *periph, union ccb *iccb) { - const uint8_t niliqd[SHORT_INQUIRY_LENGTH] = { 0x7f }; + const uint8_t niliqd[SHORT_INQUIRY_LENGTH] = { + 0x7f, 0x0, 0x5, 0x2, 32, 0, 0, 0x32, + 'F', 'R', 'E', 'E', 'B', 'S', 'D', ' ', + 'S', 'C', 'S', 'I', ' ', 'N', 'U', 'L', + 'L', ' ', 'D', 'E', 'V', 'I', 'C', 'E', + '0', '0', '0', '1' + }; const uint8_t iqd[SHORT_INQUIRY_LENGTH] = { - 0, 0x0, 0x2, 0x2, 32, 0, 0, 0x32, + 0, 0x0, 0x5, 0x2, 32, 0, 0, 0x32, 'F', 'R', 'E', 'E', 'B', 'S', 'D', ' ', 'S', 'C', 'S', 'I', ' ', 'M', 'E', 'M', 'O', 'R', 'Y', ' ', 'D', 'I', 'S', 'K',