From owner-svn-src-stable-7@FreeBSD.ORG Sun Sep 19 13:49:02 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 664A7106564A; Sun, 19 Sep 2010 13:49:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 529E68FC0A; Sun, 19 Sep 2010 13:49:02 +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 o8JDn2LS003774; Sun, 19 Sep 2010 13:49:02 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o8JDn2sq003772; Sun, 19 Sep 2010 13:49:02 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201009191349.o8JDn2sq003772@svn.freebsd.org> From: Alexander Motin Date: Sun, 19 Sep 2010 13:49:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212859 - stable/7/sys/dev/hptiop X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 13:49:02 -0000 Author: mav Date: Sun Sep 19 13:49:02 2010 New Revision: 212859 URL: http://svn.freebsd.org/changeset/base/212859 Log: MFC r209340: Report transport type in XPT_PATH_INQ. Modified: stable/7/sys/dev/hptiop/hptiop.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/hptiop/hptiop.c ============================================================================== --- stable/7/sys/dev/hptiop/hptiop.c Sun Sep 19 13:44:46 2010 (r212858) +++ stable/7/sys/dev/hptiop/hptiop.c Sun Sep 19 13:49:02 2010 (r212859) @@ -1836,6 +1836,10 @@ scsi_done: strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); strncpy(cpi->hba_vid, "HPT ", HBA_IDLEN); strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); + cpi->transport = XPORT_SPI; + cpi->transport_version = 2; + cpi->protocol = PROTO_SCSI; + cpi->protocol_version = SCSI_REV_2; cpi->ccb_h.status = CAM_REQ_CMP; break; }