Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_pass.c
Show First 20 Lines • Show All 2,271 Lines • ▼ Show 20 Lines | |||||
passerror(union ccb *ccb, u_int32_t cam_flags, u_int32_t sense_flags) | passerror(union ccb *ccb, u_int32_t cam_flags, u_int32_t sense_flags) | ||||
{ | { | ||||
struct cam_periph *periph; | struct cam_periph *periph; | ||||
struct pass_softc *softc; | struct pass_softc *softc; | ||||
periph = xpt_path_periph(ccb->ccb_h.path); | periph = xpt_path_periph(ccb->ccb_h.path); | ||||
softc = (struct pass_softc *)periph->softc; | softc = (struct pass_softc *)periph->softc; | ||||
return(cam_periph_error(ccb, cam_flags, sense_flags, | return(cam_periph_error(ccb, cam_flags, sense_flags)); | ||||
&softc->saved_ccb)); | |||||
} | } |