summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-08-13 14:59:38 +0000
committerse <se@FreeBSD.org>1995-08-13 14:59:38 +0000
commitfdb397a93e49f33504d10e0de7b8974a5e66418a (patch)
tree45d157fb23a8e3f8d66b407a61480cfc84114691 /sys/pci
parente22ecec17776ecc81bb5c05525aa9edc79570dd9 (diff)
downloadFreeBSD-src-fdb397a93e49f33504d10e0de7b8974a5e66418a.zip
FreeBSD-src-fdb397a93e49f33504d10e0de7b8974a5e66418a.tar.gz
Return an extended status of XS_TIMEOUT (instead of XS_DRIVER_STUFFUP)
in case of an unspecific error (most likely software timeout after SCSI bus reset). This will make the generic SCSI code retry the failed command.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ncr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 441bd3a..1566925 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.38 1995/06/28 16:40:58 se Exp $
+** $Id: ncr.c,v 1.39 1995/07/07 12:30:39 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1223,7 +1223,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.38 1995/06/28 16:40:58 se Exp $\n";
+ "\n$Id: ncr.c,v 1.39 1995/07/07 12:30:39 se Exp $\n";
u_long ncr_version = NCR_VERSION
+ (u_long) sizeof (struct ncb)
@@ -4162,7 +4162,7 @@ void ncr_complete (ncb_p np, ccb_p cp)
printf ("COMMAND FAILED (%x %x) @%x.\n",
cp->host_status, cp->scsi_status, (unsigned)cp);
- xp->error = XS_DRIVER_STUFFUP;
+ xp->error = XS_TIMEOUT;
}
xp->flags |= ITSDONE;
OpenPOWER on IntegriCloud