Treat "reservation conflict" status similar to "busy".
This commit is contained in:
parent
7ef2e93b99
commit
8244d6816f
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
**
|
||||
** $Id: ncr.c,v 1.108 1997/08/31 19:42:29 se Exp $
|
||||
** $Id: ncr.c,v 1.109 1997/09/09 21:52:31 se Exp $
|
||||
**
|
||||
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
|
||||
**
|
||||
@ -1340,7 +1340,7 @@ static void ncr_attach (pcici_t tag, int unit);
|
||||
|
||||
|
||||
static char ident[] =
|
||||
"\n$Id: ncr.c,v 1.108 1997/08/31 19:42:29 se Exp $\n";
|
||||
"\n$Id: ncr.c,v 1.109 1997/09/09 21:52:31 se Exp $\n";
|
||||
|
||||
static const u_long ncr_version = NCR_VERSION * 11
|
||||
+ (u_long) sizeof (struct ncb) * 7
|
||||
@ -4754,10 +4754,11 @@ void ncr_complete (ncb_p np, ccb_p cp)
|
||||
};
|
||||
|
||||
} else if ((cp->host_status == HS_COMPLETE)
|
||||
&& (cp->scsi_status == S_BUSY)) {
|
||||
&& ((cp->scsi_status == S_BUSY)
|
||||
|| (cp->scsi_status == S_CONFLICT))) {
|
||||
|
||||
/*
|
||||
** Target is busy.
|
||||
** Target is busy, or reservation conflict
|
||||
*/
|
||||
xp->error = XS_BUSY;
|
||||
|
||||
@ -4767,6 +4768,7 @@ void ncr_complete (ncb_p np, ccb_p cp)
|
||||
** Device failed selection
|
||||
*/
|
||||
xp->error = XS_SELTIMEOUT;
|
||||
|
||||
} else if(cp->host_status == HS_TIMEOUT) {
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user