Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2010 10:06:31 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r209458 - releng/8.1/sys/dev/hptmv
Message-ID:  <201006231006.o5NA6VJM031783@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jun 23 10:06:31 2010
New Revision: 209458
URL: http://svn.freebsd.org/changeset/base/209458

Log:
  MFC r209341:
  Report transport type in XPT_PATH_INQ.
  
  Approved by:	re (kib)

Modified:
  releng/8.1/sys/dev/hptmv/entry.c
Directory Properties:
  releng/8.1/sys/   (props changed)
  releng/8.1/sys/amd64/include/xen/   (props changed)
  releng/8.1/sys/cddl/contrib/opensolaris/   (props changed)
  releng/8.1/sys/contrib/dev/acpica/   (props changed)
  releng/8.1/sys/contrib/pf/   (props changed)
  releng/8.1/sys/dev/xen/xenpci/   (props changed)
  releng/8.1/sys/geom/sched/   (props changed)

Modified: releng/8.1/sys/dev/hptmv/entry.c
==============================================================================
--- releng/8.1/sys/dev/hptmv/entry.c	Wed Jun 23 10:04:48 2010	(r209457)
+++ releng/8.1/sys/dev/hptmv/entry.c	Wed Jun 23 10:06:31 2010	(r209458)
@@ -2414,6 +2414,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?201006231006.o5NA6VJM031783>