Report transport type in XPT_PATH_INQ.

PR:		i386/147929
MFC after:	3 days
This commit is contained in:
Alexander Motin 2010-06-19 13:41:17 +00:00
parent 5ec55931d6
commit 33827b8428

View File

@ -1823,6 +1823,10 @@ static void hptiop_action(struct cam_sim *sim, union ccb *ccb)
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;
}