Date: Thu, 30 Nov 2006 21:53:25 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110756 for review Message-ID: <200611302153.kAULrPJA076434@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110756 Change 110756 by mjacob@newisp on 2006/11/30 21:53:02 If spi && scsi validity bits are zero for XPT_SET_TRAN_SETTINGS, just say we completed the command. Affected files ... .. //depot/projects/newisp/dev/isp/isp_freebsd.c#29 edit Differences ... ==== //depot/projects/newisp/dev/isp/isp_freebsd.c#29 (text+ko) ==== @@ -2686,6 +2686,13 @@ sdparam *sdp = isp->isp_param; uint16_t *dptr; + if (spi->valid == 0 && scsi->valid == 0) { + ISPLOCK_2_CAMLOCK(isp); + ccb->ccb_h.status = CAM_REQ_CMP; + xpt_done(ccb); + break; + } + bus = cam_sim_bus(xpt_path_sim(cts->ccb_h.path)); sdp += bus; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611302153.kAULrPJA076434>