1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Report transport type in XPT_PATH_INQ.

MFC after:	3 days
This commit is contained in:
Alexander Motin 2010-06-19 13:42:14 +00:00
parent 33827b8428
commit 9085ea5054
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209341

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;