From owner-freebsd-isdn@FreeBSD.ORG  Sun Sep 28 08:25:58 2003
Return-Path: <owner-freebsd-isdn@FreeBSD.ORG>
Delivered-To: freebsd-isdn@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AC68416A4B3
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 08:25:58 -0700 (PDT)
Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E7154400E
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 08:25:57 -0700 (PDT)
	(envelope-from bzeeb-lists@lists.zabbadoz.net)
Received: from localhost (localhost [127.0.0.1])
	by transport.cksoft.de (Postfix) with ESMTP id 65DC01FF8FD
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 17:25:55 +0200 (CEST)
Received: by transport.cksoft.de (Postfix, from userid 66)
	id 251F91FF8FC; Sun, 28 Sep 2003 17:25:54 +0200 (CEST)
Received: by mail.int.zabbadoz.net (Postfix, from userid 1060)
	id C7D46153CA; Sun, 28 Sep 2003 15:25:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by mail.int.zabbadoz.net (Postfix) with ESMTP id BDBFF153AC
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 15:25:40 +0000 (UTC)
Date: Sun, 28 Sep 2003 15:25:40 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net
To: freebsd-isdn@freebsd.org
Message-ID: <Pine.BSF.4.53.0309281514350.1708@e0-0.zab2.int.zabbadoz.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by AMaViS snapshot-20020300
Subject: compiling as modules ?
X-BeenThere: freebsd-isdn@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Using ISDN with FreeBSD <freebsd-isdn.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-isdn>
List-Post: <mailto:freebsd-isdn@freebsd.org>
List-Help: <mailto:freebsd-isdn-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Sep 2003 15:25:58 -0000

Hi,

is it possible to compile i4b and/or isic as modules only or do they
need to be part of the kernel ?

If it is possible to compile as modules under 5.x can some please tell
me how ?

I have the hint.isic.* informations in my hints file. If I include the
device lines to my kernel configuration file the drivers are
integrated, if I leave them out (still having options for correct card
in the kernel conf) I do not get modules build either.

Thanks for the help.

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/

From owner-freebsd-isdn@FreeBSD.ORG  Sun Sep 28 10:10:17 2003
Return-Path: <owner-freebsd-isdn@FreeBSD.ORG>
Delivered-To: freebsd-isdn@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6B2EB16A4B3
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 10:10:17 -0700 (PDT)
Received: from peedub.jennejohn.org (p213.54.155.70.tisdip.tiscali.de
	[213.54.155.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1090244001
	for <freebsd-isdn@freebsd.org>; Sun, 28 Sep 2003 10:10:16 -0700 (PDT)
	(envelope-from garyj@jennejohn.org)
Received: from peedub.jennejohn.org (localhost [127.0.0.1])
	by peedub.jennejohn.org (8.12.10/8.11.6) with ESMTP id h8SH9dv7004202;
	Sun, 28 Sep 2003 19:09:55 +0200 (CEST)
	(envelope-from garyj@peedub.jennejohn.org)
Message-Id: <200309281709.h8SH9dv7004202@peedub.jennejohn.org>
X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
In-Reply-To: Message from "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> 
	<Pine.BSF.4.53.0309281514350.1708@e0-0.zab2.int.zabbadoz.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 28 Sep 2003 19:09:39 +0200
From: Gary Jennejohn <garyj@jennejohn.org>
cc: freebsd-isdn@freebsd.org
Subject: Re: compiling as modules ? 
X-BeenThere: freebsd-isdn@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Using ISDN with FreeBSD <freebsd-isdn.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-isdn>
List-Post: <mailto:freebsd-isdn@freebsd.org>
List-Help: <mailto:freebsd-isdn-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Sep 2003 17:10:17 -0000


"Bjoern A. Zeeb" writes:
> Hi,
> 
> is it possible to compile i4b and/or isic as modules only or do they
> need to be part of the kernel ?
> 

No, yes. We never got around to module-ifying i4b.

---
Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de

From owner-freebsd-isdn@FreeBSD.ORG  Sun Sep 28 14:02:47 2003
Return-Path: <owner-freebsd-isdn@FreeBSD.ORG>
Delivered-To: freebsd-isdn@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 35A8616A4B3
	for <freebsd-isdn@FreeBSD.ORG>; Sun, 28 Sep 2003 14:02:47 -0700 (PDT)
Received: from mail0.ewetel.de (mail0-96.ewetel.de [212.6.122.96])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 978A444028
	for <freebsd-isdn@FreeBSD.ORG>; Sun, 28 Sep 2003 14:02:45 -0700 (PDT)
	(envelope-from Thomas.Wintergerst@nord-com.net)
Received: from kalak.lemur.nord.de (dialin-80-228-55-028.ewe-ip-backbone.de
	[80.228.55.28])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id h8SL2gbq021066
	for <freebsd-isdn@FreeBSD.ORG>;
	Sun, 28 Sep 2003 23:02:43 +0200 (MEST)
Received: from nord-com.net (lullog.lemur.nord.de [192.168.2.4])
	by kalak.lemur.nord.de (8.12.3/8.12.3) with ESMTP id h8SKvU70020877
	for <freebsd-isdn@FreeBSD.ORG>; Sun, 28 Sep 2003 22:57:31 +0200 (CEST)
	(envelope-from Thomas.Wintergerst@nord-com.net)
Message-ID: <3F774B3A.7060606@nord-com.net>
Date: Sun, 28 Sep 2003 22:57:30 +0200
From: Thomas Wintergerst <Thomas.Wintergerst@nord-com.net>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: freebsd-isdn@FreeBSD.ORG
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-CheckCompat: OK
Subject: New version of CAPI for BSD for 5.x-RELEASE
X-BeenThere: freebsd-isdn@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Using ISDN with FreeBSD <freebsd-isdn.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-isdn>
List-Post: <mailto:freebsd-isdn@freebsd.org>
List-Help: <mailto:freebsd-isdn-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Sep 2003 21:02:47 -0000

Hello,

I finally managed to create a working version of c4b for 5.0-RELEASE and 
5.1-RELEASE. It was a hard piece of work to adapt all synchronization to 
the new mechanisms in 5.x. And then to rework the implementation because 
of panics when sleeping while holding a mutex... ;-)

The new release can be downloaded at 
<http://www.nord-com.net/thomas.wintergerst/index.html>. It is bigger in 
size than the former version, because it already contains firmware files 
for the tested boards. These are all but the AVM-T1 variants.

The integration into "current" will soon take place. Work is already 
underway and chances are good that c4b makes its way into 5.2-RELEASE. A 
port for HylaFax will follow (Björn A. Zeeb is working on it).

-- 

Gruss,

Thomas Wintergerst


From owner-freebsd-isdn@FreeBSD.ORG  Tue Sep 30 05:29:18 2003
Return-Path: <owner-freebsd-isdn@FreeBSD.ORG>
Delivered-To: freebsd-isdn@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D0AD016A4B3
	for <freebsd-isdn@freebsd.org>; Tue, 30 Sep 2003 05:29:18 -0700 (PDT)
Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 760DF44005
	for <freebsd-isdn@freebsd.org>; Tue, 30 Sep 2003 05:29:17 -0700 (PDT)
	(envelope-from bzeeb-lists@lists.zabbadoz.net)
Received: from localhost (localhost [127.0.0.1])
	by transport.cksoft.de (Postfix) with ESMTP
	id B40551FF8FC; Tue, 30 Sep 2003 14:29:15 +0200 (CEST)
Received: by transport.cksoft.de (Postfix, from userid 66)
	id 716D31FF8FA; Tue, 30 Sep 2003 14:29:14 +0200 (CEST)
Received: by mail.int.zabbadoz.net (Postfix, from userid 1060)
	id 8AC0B15383; Tue, 30 Sep 2003 12:29:01 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by mail.int.zabbadoz.net (Postfix) with ESMTP
	id 805FB15380; Tue, 30 Sep 2003 12:29:02 +0000 (UTC)
Date: Tue, 30 Sep 2003 12:29:02 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net
To: Thomas Wintergerst <Thomas.Wintergerst@nord-com.net>
In-Reply-To: <3F774B3A.7060606@nord-com.net>
Message-ID: <Pine.BSF.4.53.0309301224400.37489@e0-0.zab2.int.zabbadoz.net>
References: <3F774B3A.7060606@nord-com.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by AMaViS snapshot-20020300
cc: freebsd-isdn@FreeBSD.ORG
Subject: Re: New version of CAPI for BSD for 5.x-RELEASE
X-BeenThere: freebsd-isdn@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Using ISDN with FreeBSD <freebsd-isdn.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-isdn>
List-Post: <mailto:freebsd-isdn@freebsd.org>
List-Help: <mailto:freebsd-isdn-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-isdn>,
	<mailto:freebsd-isdn-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Sep 2003 12:29:19 -0000

On Sun, 28 Sep 2003, Thomas Wintergerst wrote:

Hi,

> I finally managed to create a working version of c4b for 5.0-RELEASE and
> 5.1-RELEASE.
..
> The integration into "current" will soon take place. Work is already
> underway and chances are good that c4b makes its way into 5.2-RELEASE.


for everybody who wants to try latest c4b-0.8 with HEAD I have prepared
two (entirely unsupported) patches:

1) an incremental diff for everyone previously ran getall.sh from
   c4b-0.8.

   You can find this diff at
   	http://sources.zabbadoz.net/freebsd/i4b/c4b-c4b-0.8-head.diff

   It includes some instructions on how to apply etc. at the top of
   the file.

   This patch is untested and I didn't use it myself but it helps to
   better see the changes from c4b-0.8 to 2). Maybe something is still
   missing.


2) [preferred]
   a complete patch of Thomas' c4b-0.8 sources and almost all patches
   plus 1).

   it doesn't include the endian diff needed from ~ 5.1R on.

   This diff (>6 MB) is at
	http://sources.zabbadoz.net/freebsd/patchset/ 021-c4b-0.8-HEAD.diff

   And you may also need
   	http://sources.zabbadoz.net/freebsd/patchset/ 002-sys-sys-endian.h.diff

   To save my and your bandwidth please get (~ 1.6 MB)
   	http://sources.zabbadoz.net/freebsd/patchset/patchset-2003092901.tbz
   and ignore the other patches included.


   assuming your HEAD lives in /usr/src you need to do:

   cd /usr/src
   patch -C -p1 < $pathto/021-c4b-0.8-HEAD.diff

   and if everything is ok do a:
   patch -p1 < $pathto/021-c4b-0.8-HEAD.diff

   (same for 002-sys-sys-endian.h.diff if needed)


building:

   Before starting you should consult Thomas' documentation from the
   c4b-0.8 tarball.

   After applying either 1) or 2) you should be able to do a complete
   in-source-tree build as you would do when updating, this means
   you should be able to do a build{kernel,world}, install{kernel,world}
   and run mergemaster.

   Please consult [1] for more information on how to do this


notes:

*  up to now I have only built kernel parts as modules and not linked
   into kernel. If someone tries this please let me know if it works.

*  both patches are - if at all - almost untested. Further more HEAD
   can be unstable at any time. So don't tell me I didn't warn you !


changes from c4b-0.8 release (what I remember):

* libcapi20 is C only (Thomas will do that too from what I know)
* build framework changes (Makefiles, bsd.libnames.mk, mtree, ...)
* fixes of two #include <assert.h> that were missing
* fixed #include <dev/pci/pcivar.h>
* struct cdevsw initialisation in C99 style
  (see UPDATING that nullopen()/nullclose() are gone)
* firmware uuencoded for distribution
* started NO_C4B for make.conf ; thus will only build for i386 at the
  moment


references:
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


-- 
Greetings

Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/