From 9085ea505441fd3b03fee98c65bc8d9a344dcc74 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 19 Jun 2010 13:42:14 +0000 Subject: [PATCH] Report transport type in XPT_PATH_INQ. MFC after: 3 days --- sys/dev/hptmv/entry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c index bce7458130a..b1b4f2464c5 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;