Report transport type in XPT_PATH_INQ.

MFC after:	3 days
This commit is contained in:
mav 2010-06-19 13:42:14 +00:00
parent 9b5a89edc9
commit 86d0f9df6c

View File

@ -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;