Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2010 13:44:47 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r212858 - stable/7/sys/dev/hptmv
Message-ID:  <201009191344.o8JDilpg003583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Sep 19 13:44:46 2010
New Revision: 212858
URL: http://svn.freebsd.org/changeset/base/212858

Log:
  MFC r209341:
  Report transport type in XPT_PATH_INQ.

Modified:
  stable/7/sys/dev/hptmv/entry.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/hptmv/entry.c
==============================================================================
--- stable/7/sys/dev/hptmv/entry.c	Sun Sep 19 13:42:05 2010	(r212857)
+++ stable/7/sys/dev/hptmv/entry.c	Sun Sep 19 13:44:46 2010	(r212858)
@@ -2420,6 +2420,10 @@ hpt_action(struct cam_sim *sim, union cc
 			strncpy(cpi->hba_vid, "HPT   ", HBA_IDLEN);
 			strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
 			cpi->unit_number = cam_sim_unit(sim);
+			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;
 			xpt_done(ccb);
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009191344.o8JDilpg003583>