Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Bump MAX_START to 256, so that the ncr driver ca...



details:   https://anonhg.NetBSD.org/src/rev/9717b7b3bbf6
branches:  trunk
changeset: 475012:9717b7b3bbf6
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Jul 29 10:00:34 1999 +0000

description:
Bump MAX_START to 256, so that the ncr driver can work with more than 5
devices on the same bus. See PR kern/6347 for details.

diffstat:

 sys/dev/pci/ncr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7ae6c732b22d -r 9717b7b3bbf6 sys/dev/pci/ncr.c
--- a/sys/dev/pci/ncr.c Thu Jul 29 09:57:58 1999 +0000
+++ b/sys/dev/pci/ncr.c Thu Jul 29 10:00:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr.c,v 1.80 1998/12/13 00:11:37 thorpej Exp $ */
+/*     $NetBSD: ncr.c,v 1.81 1999/07/29 10:00:34 bouyer Exp $  */
 
 /**************************************************************************
 **
@@ -166,7 +166,7 @@
 **    The calculation below is actually quite silly ...
 */
 
-#define MAX_START   (MAX_TARGET + 7 * SCSI_NCR_DFLT_TAGS)
+#define MAX_START   (256)
 
 /*
 **    The maximum number of segments a transfer is split into.
@@ -1482,7 +1482,7 @@
 
 #if 0
 static char ident[] =
-       "\n$NetBSD: ncr.c,v 1.80 1998/12/13 00:11:37 thorpej Exp $\n";
+       "\n$NetBSD: ncr.c,v 1.81 1999/07/29 10:00:34 bouyer Exp $\n";
 #endif
 
 static const u_long    ncr_version = NCR_VERSION       * 11



Home | Main Index | Thread Index | Old Index