summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptiop/hptiop.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-06-19 13:41:17 +0000
committermav <mav@FreeBSD.org>2010-06-19 13:41:17 +0000
commit9b5a89edc9dfb89c5eee88b92e4c35bb6268c801 (patch)
treef5dd56fdcf94b8f1a3e3eb1b5a5451b3f527c204 /sys/dev/hptiop/hptiop.c
parent3e17abd3a9784372d8d90b8c070584b9ce49c737 (diff)
downloadFreeBSD-src-9b5a89edc9dfb89c5eee88b92e4c35bb6268c801.zip
FreeBSD-src-9b5a89edc9dfb89c5eee88b92e4c35bb6268c801.tar.gz
Report transport type in XPT_PATH_INQ.
PR: i386/147929 MFC after: 3 days
Diffstat (limited to 'sys/dev/hptiop/hptiop.c')
-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 1ea257b..77a4ccd 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;
}
OpenPOWER on IntegriCloud