MFC r209340:

Report transport type in XPT_PATH_INQ.

PR:		i386/147929
Approved by:	re (kib)
This commit is contained in:
Alexander Motin 2010-06-23 10:04:48 +00:00
parent f9b8cd3062
commit c9db4f3ae5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/releng/8.1/; revision=209457

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