svn commit: r209341 - head/sys/dev/hptmv
Alexander Motin
mav at FreeBSD.org
Sat Jun 19 13:42:14 UTC 2010
Author: mav
Date: Sat Jun 19 13:42:14 2010
New Revision: 209341
URL: http://svn.freebsd.org/changeset/base/209341
Log:
Report transport type in XPT_PATH_INQ.
MFC after: 3 days
Modified:
head/sys/dev/hptmv/entry.c
Modified: head/sys/dev/hptmv/entry.c
==============================================================================
--- head/sys/dev/hptmv/entry.c Sat Jun 19 13:41:17 2010 (r209340)
+++ head/sys/dev/hptmv/entry.c Sat Jun 19 13:42:14 2010 (r209341)
@@ -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-head
mailing list