aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-06-23 10:04:48 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-06-23 10:04:48 +0000
commitc9db4f3ae53d91be6643de09c530a1152f3c916d (patch)
treeb8e7126c741577f559d977f4def5721a96493b31
parentf9b8cd306229a0cd945922c6e8a882f167b1499c (diff)
downloadsrc-c9db4f3ae53d91be6643de09c530a1152f3c916d.tar.gz
src-c9db4f3ae53d91be6643de09c530a1152f3c916d.zip
MFC r209340:
Report transport type in XPT_PATH_INQ. PR: i386/147929 Approved by: re (kib)
Notes
Notes: svn path=/releng/8.1/; revision=209457
-rw-r--r--sys/dev/hptiop/hptiop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c
index 1ea257becc33..77a4ccd5b4c3 100644
--- a/sys/dev/hptiop/hptiop.c
+++ b/sys/dev/hptiop/hptiop.c
@@ -1823,6 +1823,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;
}