From 9b5a89edc9dfb89c5eee88b92e4c35bb6268c801 Mon Sep 17 00:00:00 2001 From: mav Date: Sat, 19 Jun 2010 13:41:17 +0000 Subject: Report transport type in XPT_PATH_INQ. PR: i386/147929 MFC after: 3 days --- sys/dev/hptiop/hptiop.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.1