aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-06-23 10:06:31 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-06-23 10:06:31 +0000
commiteeca979076e343b07a6964b0caee0c761b8d8beb (patch)
tree7d757d714f07861e3857942d98479c7b289c313b
parentc9db4f3ae53d91be6643de09c530a1152f3c916d (diff)
downloadsrc-eeca979076e343b07a6964b0caee0c761b8d8beb.tar.gz
src-eeca979076e343b07a6964b0caee0c761b8d8beb.zip
MFC r209341:
Report transport type in XPT_PATH_INQ. Approved by: re (kib)
Notes
Notes: svn path=/releng/8.1/; revision=209458
-rw-r--r--sys/dev/hptmv/entry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c
index bce7458130ab..b1b4f2464c5e 100644
--- a/sys/dev/hptmv/entry.c
+++ b/sys/dev/hptmv/entry.c
@@ -2414,6 +2414,10 @@ hpt_action(struct cam_sim *sim, union ccb *ccb)
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;