Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 1995 17:06:12 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
Subject:   Re: ncrcontrol
Message-ID:  <199512271606.AA16605@Sysiphos>
In-Reply-To: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> "ncrcontrol" (Dec 27,  2:13)

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 27,  2:13, Jean-Marc Zucconi wrote:
} Subject: ncrcontrol
} With a kernel from yesterday and after a make world, I get
} $ ncrcontrol 
} ncrcontrol: no symbol "_nncr" in "/kernel.new".

This is a result of the recent statifications ...

Apply the following patch to get the variable defined 
and exported again ...

I'll change this back in -current, too, until there is 
a better interface (possibly using sysctl).

Regards, STefan

Index: ncr.c
===================================================================
RCS file: /usr/cvs/src/sys/pci/ncr.c,v
retrieving revision 1.52
diff -C2 -r1.52 ncr.c
*** ncr.c	1995/12/16 00:27:44	1.52
--- ncr.c	1995/12/22 13:47:39
***************
*** 1261,1269 ****
  
  #ifndef __NetBSD__
! static ncb_p		ncrp [MAX_UNITS];
  #endif /* !__NetBSD__ */
  
  static int ncr_debug = SCSI_DEBUG_FLAGS;
- SYSCTL_INT(_debug, OID_AUTO, ncr_debug, CTLFLAG_RW, &ncr_debug, 0, "");
  
  static int ncr_cache; /* to be aligned _NOT_ static */
--- 1261,1269 ----
  
  #ifndef __NetBSD__
! u_long		nncr=MAX_UNITS;
! ncb_p		ncrp [MAX_UNITS];
  #endif /* !__NetBSD__ */
  
  static int ncr_debug = SCSI_DEBUG_FLAGS;
  
  static int ncr_cache; /* to be aligned _NOT_ static */

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512271606.AA16605>