While investigating a p/r I noted that the camcontrol devlist output for
volumes behind a ciss(4) controller were being reported with malformeed names and identifiers. Repair that reporting by using the CAM values for the three SCSI indents reported via camcontrol devlist PR: kern/171650 Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks
This commit is contained in:
parent
591090c317
commit
a9112e5d7f
@ -3346,9 +3346,14 @@ ciss_cam_complete_fixup(struct ciss_softc *sc, struct ccb_scsiio *csio)
|
||||
|
||||
cl = &sc->ciss_logical[bus][target];
|
||||
|
||||
padstr(inq->vendor, "COMPAQ", 8);
|
||||
padstr(inq->product, ciss_name_ldrive_org(cl->cl_ldrive->fault_tolerance), 8);
|
||||
padstr(inq->revision, ciss_name_ldrive_status(cl->cl_lstatus->status), 16);
|
||||
padstr(inq->vendor, "COMPAQ",
|
||||
SID_VENDOR_SIZE);
|
||||
padstr(inq->product,
|
||||
ciss_name_ldrive_org(cl->cl_ldrive->fault_tolerance),
|
||||
SID_PRODUCT_SIZE);
|
||||
padstr(inq->revision,
|
||||
ciss_name_ldrive_status(cl->cl_lstatus->status),
|
||||
SID_REVISION_SIZE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user