Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 98 14:58:38 +0100
From:      David Wetzel <dave@turbocat.de>
To:        Gary Jennejohn <garyj@muc.de>
Cc:        freebsd-isdn@FreeBSD.ORG, martin@rumolt.teuto.de
Subject:   Re: i4b on NetBSD 1.3 
Message-ID:  <199802221358.OAA00271@luigi.turbocat.de>
References:  <199802212238.XAA27708@peedub.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Gary Jennejohn <garyj@peedub.muc.de>
(....)
> 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<option> into the kernel Makefile.
>

Hello!

This is in my Kernel config file:

8< - - - - - - - - - - - - -
(...)
options         TEL_S0_16
isic0 at isa? port 0xd80 iomem 0xc8000 irq 11

pseudo-device   i4b
# userland driver to do ISDN tracing
pseudo-device   i4btrc
# userland driver to control the whole thing
pseudo-device   i4bctl
# userland driver for access to raw B channel
pseudo-device   i4brbch         2
# userland driver for telephony
pseudo-device   i4btel          2
# network driver for IP over raw HDLC ISDN
pseudo-device   i4bipr          2
# synchronous PPP over ISDN
pseudo-device   i4bisppp        2

8< - - - - - - - - - - - - -

That gives me the -DTEL_S0_16 for the compiler. My main problems are:

../../../../i4b/driver/i4b_ctl.c: In function `i4bctlioctl':
../../../../i4b/driver/i4b_ctl.c:220: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:221: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:222: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:223: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:224: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:225: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:244: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:245: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:246: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:247: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:248: request for member `sc_chan' in  
something not a structure or union
../../../../i4b/driver/i4b_ctl.c:249: request for member `sc_chan' in  
something not a structure or union
*** Error code 1


I have no idea what this code does. If I comment it out, I get still  
errors while linking (see my previous mail)

---
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 NeXTmail dave@turbocat.de
 (______)  http://www.turbocat.de/
           DEVELOPMENT * CONSULTING * ADMINISTRATION
           WATCH OUT FOR TURBOFAX for OPENSTEP!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



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