svn commit: r209439 - stable/8/sys/dev/hptmv
Alexander Motin
mav at FreeBSD.org
Tue Jun 22 19:24:08 UTC 2010
Author: mav
Date: Tue Jun 22 19:24:07 2010
New Revision: 209439
URL: http://svn.freebsd.org/changeset/base/209439
Log:
MFC r209341:
Report transport type in XPT_PATH_INQ.
Modified:
stable/8/sys/dev/hptmv/entry.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/hptmv/entry.c
==============================================================================
--- stable/8/sys/dev/hptmv/entry.c Tue Jun 22 19:22:34 2010 (r209438)
+++ stable/8/sys/dev/hptmv/entry.c Tue Jun 22 19:24:07 2010 (r209439)
@@ -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;
More information about the svn-src-stable-8
mailing list