summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1997-12-02 22:37:58 +0000
committerse <se@FreeBSD.org>1997-12-02 22:37:58 +0000
commit842c591aefe3599241a65b662b439cebd4dd61d6 (patch)
tree5c613e30f04a575d571766b1def1a93981943643
parentefe10091d359433e3cd033a946c00f43e8623771 (diff)
downloadFreeBSD-src-842c591aefe3599241a65b662b439cebd4dd61d6.zip
FreeBSD-src-842c591aefe3599241a65b662b439cebd4dd61d6.tar.gz
Fix size of start queue to 32 entries, independent of the default
number of tags (NCR_SCSI_DFLT_TAGS), which is 0 in the FAILSAFE case. This should fix the incompatibility between kernel and ncrcontrol, which is the result of FAILSAFE being defined in the kernel config file, invisible to the build of ncrcontrol. (See kern/5133, which should be fixed by this change.)
-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 c7a38b3..749ce0e 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.111 1997/09/21 22:02:16 gibbs Exp $
+** $Id: ncr.c,v 1.112 1997/11/07 09:20:56 phk Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -164,7 +164,7 @@
** The calculation below is actually quite silly ...
*/
-#define MAX_START (MAX_TARGET + 7 * SCSI_NCR_DFLT_TAGS)
+#define MAX_START (32) /* (MAX_TARGET + 7 * SCSI_NCR_DFLT_TAGS) */
/*
** The maximum number of segments a transfer is split into.
@@ -1341,7 +1341,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.111 1997/09/21 22:02:16 gibbs Exp $\n";
+ "\n$Id: ncr.c,v 1.112 1997/11/07 09:20:56 phk Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
OpenPOWER on IntegriCloud