mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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.)
This commit is contained in:
parent
80ae4948b8
commit
ea4eae1aa3
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue