From owner-FreeBSD-tech-jp@jp.freebsd.org  Wed Sep 10 20:14:56 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) id UAA23469
	Wed, 10 Sep 1997 20:14:56 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) with ESMTP id UAA23464
	for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 10 Sep 1997 20:14:54 +0900 (JST)
Received: from cubic.shisham.co.jp (tksm2DS25.tks.mesh.ad.jp [133.205.221.175]) by meshsv88.tk.mesh.ad.jp (8.8.4+2.7Wbeta4/3.5Wpl1-) with ESMTP id UAA14448 for <FreeBSD-tech-jp@jp.freebsd.org>; Wed, 10 Sep 1997 20:14:52 +0900 (JST)
Received: foo.bar.org; Wed, 10 Sep 1997 20:14:00 +0900 (JST)
Message-Id: <Lucky.199709101114.UAA01602.Lucky>
To: FreeBSD-tech-jp@jp.freebsd.org
From: Shiba <shiba@mxs.meshnet.or.jp>
In-Reply-To: Your message of "Mon, 14 Jul 1997 16:42:34 +0900 (JST)"
	<199707140742.QAA24941@stone.astec.co.jp>
References: <199707140742.QAA24941@stone.astec.co.jp>
X-Mailer: Mew version 1.90 on XEmacs 20.3 (Kiev)
X-PGP-Fingerprint: 34 E2 AB A0 9E D1 02 52  F9 66 03 AA 51 B2 D7 0A
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Wed, 10 Sep 1997 20:13:59 +0900
X-Dispatcher: imput version 970830
Lines: 57
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-tech-jp 594
Subject: [FreeBSD-tech-jp 594] Re: SMP and ncr
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

;;; $BF|IU(B : Mon, 14 Jul 1997 16:42:34 +0900 (JST)
;;; $B<1JL(B : <199707140742.QAA24941@stone.astec.co.jp>
;;; $B=q$-?M(B : HAMADA Naoki <hamada@astec.co.jp>

HAMADA>$B0JA0OCBj$K$J$C$F$$$?(B SMP $B$H(B ncr $B%I%i%$%P$NAj@-$,0-$$$N$G$O$J$$$+!"$H$$(B
HAMADA>$B$&7o$K$D$$$F$G$9!#(B

ncr.c:**  $Id: ncr.c,v 1.109 1997/09/09 21:52:31 se Exp $
ncrreg.h:**  $Id: ncrreg.h,v 1.11 1997/08/31 19:42:31 se Exp $

$B$K$F!"(BSMP$B$G!"(BOK$B$G$9!#(B

smp-ml$B$G$=$&$$$&(B825a$B$G1>!9$H$"$C$?$N$G$d$C$F$_$^$7$?!#(B

config option$B$K$O!"(B

	options         SCSI_NCR_PCI_CONFIG_FIXUP
	options         NCR_TEKRAM_EEPROM
	#options                SCSI_NCR_DFLT_TAGS=32 $B!c(B---$B$3$l$O$@$a(B
	##options               NCR_IOMAPPED
	controller      ncr0
	controller      ncr1

$B$G!"3n$D!"(B

--- ncr.c.~1~	Wed Sep 10 12:17:04 1997
+++ ncr.c	Wed Sep 10 14:28:12 1997
@@ -280,7 +280,7 @@
 **
 **----------------------------------------------------------
 */
-
+#if 0
 #define	assert(expression) { \
 	if (!(expression)) { \
 		(void)printf(\
@@ -289,7 +289,9 @@
 			__FILE__, __LINE__); \
 	} \
 }
-
+#else
+#define assert(x)
+#endif
 /*==========================================================
 **
 **	Access to the controller chip.
@@ -5112,7 +5114,7 @@
 	*/
 	fak = (kpc - 1) / div_10M[div] + 1;
 
-#if 0	/* You can #if 1 if you think this optimization is usefull */
+#if 1	/* You can #if 1 if you think this optimization is usefull */
 
 	per = (fak * div_10M[div]) / clk;
 
$B$G!"$$$1$F$^$9!#0J>e(Breport$B$^$G!#(B
