Report transport type in XPT_PATH_INQ.
PR: i386/147929 MFC after: 3 days
This commit is contained in:
parent
5ec55931d6
commit
33827b8428
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209340
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user