From 769b999aee05d09d3fab68468b50bf722f5f8d1f Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Sun, 17 Aug 1997 14:04:08 +0000 Subject: [PATCH] To handle scsi RESERVATION CONFLICT properly in ahc driver. Could somebody please update other drivers so that SCSI_RSVD (0x18) to be handled just like SCSI_BUSY(0x08)? There's no need for extra state, so we use XS_BUSY for SCSI_RSVD too. PR: 4257 --- sys/i386/scsi/aic7xxx.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c index e982e10fbad4..1146e36b57b7 100644 --- a/sys/i386/scsi/aic7xxx.c +++ b/sys/i386/scsi/aic7xxx.c @@ -39,7 +39,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aic7xxx.c,v 1.121 1997/08/13 17:02:43 gibbs Exp $ + * $Id: aic7xxx.c,v 1.122 1997/08/15 19:27:37 gibbs Exp $ */ /* * TODO: @@ -1357,6 +1357,11 @@ ahc_handle_seqint(ahc, intstat) sc_print_addr(xs->sc_link); printf("Target Busy\n"); break; + case SCSI_RSVD: + xs->error = XS_BUSY; /*XXX*/ + sc_print_addr(xs->sc_link); + printf("Target Reserved\n"); + break; default: sc_print_addr(xs->sc_link); printf("unexpected targ_status: %x\n", hscb->status);