From owner-freebsd-isdn@FreeBSD.ORG Sun Oct 26 13:15:26 2003 Return-Path: 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 9975816A4B3 for ; Sun, 26 Oct 2003 13:15:26 -0800 (PST) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B8443F93 for ; Sun, 26 Oct 2003 13:15:23 -0800 (PST) (envelope-from Alexander.Farber@t-online.de) Received: from fwd06.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1ADsEM-0007Ug-05; Sun, 26 Oct 2003 22:15:22 +0100 Received: from newhope.my.domain (GQVZNmZ1Ze3OkBPKtxRqgOVwj2IFbAhFbVd-DPav4lHWuAJIBpwCUK@[217.82.219.187]) by fwd06.sul.t-online.com with esmtp id 1ADsEG-1os1dw0; Sun, 26 Oct 2003 22:15:16 +0100 Received: from newhope.my.domain (localhost.my.domain [127.0.0.1]) by newhope.my.domain (8.12.9/8.12.9) with ESMTP id h9QJGnAQ014507 for ; Sun, 26 Oct 2003 20:16:49 +0100 (CET) (envelope-from alex@newhope.my.domain) Received: (from alex@localhost) by newhope.my.domain (8.12.9/8.12.9/Submit) id h9QJGmX2014506 for freebsd-isdn@freebsd.org; Sun, 26 Oct 2003 20:16:48 +0100 (CET) (envelope-from alex) Date: Sun, 26 Oct 2003 20:16:48 +0100 From: Alexander.Farber@t-online.de (Alexander Farber) To: freebsd-isdn@freebsd.org Message-ID: <20031026191648.GE436@newhope.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Url: X-Operating-System: FreeBSD 4.9-RC i386 X-Seen: false X-ID: GQVZNmZ1Ze3OkBPKtxRqgOVwj2IFbAhFbVd-DPav4lHWuAJIBpwCUK Subject: Why is bus_set_resource() rarely used? Docs for ISA cards X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 21:15:26 -0000 Hi, I'm trying to learn how the i4b ISA drivers are programmed by reading the "Arch Handbook" and looking at i4b/capi/iavc/iavc_isa.c on my FreeBSD 4-stable PC and wonder why doesn't iavc (and most other ISDN cards) use bus_set_resource()? I only see bus_alloc_resource() being called for SYS_RES_IOPORT and _IRQ in iavc_isa.c Also I have the following ISA cards: AVM ISA v3.0 USR Sportster Teles 16.3 Siemens smth. Where did the people writing drivers for those cards get the information on how to reset those cards, to which ports to write what, etc.? Could someone please point me to the docs? Thanks Regards Alex [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/isa-driver-resources.html