sys/bus/cam/scsi/scsi_target.c
/* Initialize a periph (called from cam_periph_alloc) */
Initialize a periph (called from cam_periph_alloc)
Initialize a periph ( called from cam_periph_alloc )
static cam_status
targctor(struct cam_periph *periph, void *arg)
{
	struct targ_softc *softc;
	softc = (struct targ_softc *)arg;
	periph->softc = softc;
	softc->periph = periph;
	softc->path = periph->path;
	return (CAM_REQ_CMP);
}
static cam_status targctor ( struct cam_periph * periph , void * arg ) { struct targ_softc * softc ; softc = ( struct targ_softc * ) arg ; periph -> softc = softc ; softc -> periph = periph ; softc -> path = periph -> path ; return ( CAM_REQ_CMP ) ; }
Initialize a periph (called from cam_periph_alloc)
Initialize a periph ( called from cam_periph_alloc )
/* Store pointer to softc for periph-driven routines */