From owner-freebsd-isdn Sat Feb 21 14:37:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27427 for freebsd-isdn-outgoing; Sat, 21 Feb 1998 14:37:47 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27419 for ; Sat, 21 Feb 1998 14:37:44 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.8.8/8.6.9) with ESMTP id XAA27708 for ; Sat, 21 Feb 1998 23:38:25 +0100 (CET) Message-Id: <199802212238.XAA27708@peedub.muc.de> X-Mailer: exmh version 2.0.1 12/23/97 To: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b on NetBSD 1.3 Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 21 Feb 1998 20:31:16 +0100." <199802211931.UAA00876@rvc1.informatik.ba-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Feb 1998 23:38:25 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wolfgang Helbig writes: >> Hi! >> >> The previous problem is still there, I have ignored the code for now and >> commented it out. >> >> >> ../../../../i4b/layer1/i4b_isic.c:52: opt_i4b.h: No such file or directory >> >> the next change is: >> >> /usr/src/i4b/layer1/i4b_isic.c >> >> // Sat Feb 21 19:52:51 MET 1998 dave@turbocat.de >> //#include "opt_i4b.h" > >Hmm, this was definitely the wrong way to fix. The file opt_i4b.h >is created by config(8) and put in the kernel compile directory. >It contains preprocessor symbols which in turn are used to control >the inclusion of source. Your ``fix'' effectively excluded all >low level driver source and caused the breakage during >loading the kernel. > >Sorry, I don't know how to feed the NetBSD configuration to make >it create opt_i4b.h. For FreeBSD this is described in FreeBSD/INSTALLATION, >step 8. This one liner is the content of my opt_i4b.h: > >#define TEL_S0_16_3 1 > This is partly my fault, I added the opt_i4b.h stuff shortly before Hellmuth made the alpha release. Since I'm not running NetBSD I couldn't test the impact of this change. This should actually read: #if defined(__FreeBSD__) #include "opt_i4b.h" #endif but apparently Hellmuth missed i4b_isic.c :-( What you need is an options line in your kernel config file. Look at FreeBSD/CONFIG under the config: heading for the appropriate options to use for each card. I believe that the NetBSD config should place an appropriate -D