From owner-freebsd-stable@FreeBSD.ORG Fri May 28 23:23:57 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA4716A4CF for ; Fri, 28 May 2004 23:23:57 -0700 (PDT) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7546C43E67 for ; Fri, 28 May 2004 23:23:57 -0700 (PDT) (envelope-from M.Santhoff@t-online.de) Received: from fwd05.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1BTxFc-00008N-00; Sat, 29 May 2004 08:23:24 +0200 Received: from localhost.das.netz (VTK00oZXoeJsCAqKY6z7I3ZhaYlqGNnexQ9DBgXP7+UZWHtpNwAm8K@[193.159.122.147]) by fwd05.sul.t-online.com with esmtp id 1BTxFW-1xKgxV0; Sat, 29 May 2004 08:23:18 +0200 Received: from [10.0.0.3] (zaphod.das.netz [10.0.0.3]) by localhost.das.netz (8.12.10/8.12.10) with ESMTP id i4T6DqEW026194 for ; Sat, 29 May 2004 08:13:52 +0200 (CEST) (envelope-from M.Santhoff@t-online.de) From: M.Santhoff@t-online.de (Marc Santhoff) To: "FreeBSD stable (Liste)" In-Reply-To: <20040528.193747.106264828.imp@bsdimp.com> References: <1085610184.3232.250.camel@zircon> <1085764038.485.71.camel@zircon> <20040528.193747.106264828.imp@bsdimp.com> Content-Type: text/plain Message-Id: <1085811125.28541.1.camel@zaphod.das.netz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 29 May 2004 08:12:05 +0200 Content-Transfer-Encoding: 7bit X-Seen: false X-ID: VTK00oZXoeJsCAqKY6z7I3ZhaYlqGNnexQ9DBgXP7+UZWHtpNwAm8K Subject: Re: Thanks for All the Help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 06:23:57 -0000 Am Sa, den 29.05.2004 schrieb M. Warner Losh um 03:37: [...] > : Thank you very much for the offer to help. In fact, I "randomly" choose > : gpib.c and labpc.c as the structural models for my device driver, and so > : I ran into the problem of how do I hook this into the kernel. The basic > : problem arises since I just want to diddle I/O addresses and none of the > : devices have interrupts associated with them, so it really does not need > : all of that horrid module stuff. I just wanted to hook up a choice of > : base I/O address from the kernel config file. > > OK. I'll write up some stuff this weekend. There are some really old templates in /usr/share/examples/drivers, maybe this would be a good starting point - if they would fit the system. Marc