From owner-freebsd-stable@FreeBSD.ORG Fri May 28 10:08:11 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 3008B16A4CE for ; Fri, 28 May 2004 10:08:11 -0700 (PDT) Received: from zircon.seattle.wa.us (dsl231-043-165.sea1.dsl.speakeasy.net [216.231.43.165]) by mx1.FreeBSD.org (Postfix) with SMTP id 97DD743D39 for ; Fri, 28 May 2004 10:08:10 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 8431 invoked from network); 28 May 2004 17:07:19 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 28 May 2004 17:07:19 -0000 From: Joe Kelsey To: "M. Warner Losh" In-Reply-To: <20040528.090131.17267826.imp@bsdimp.com> References: <1085610184.3232.250.camel@zircon> <20040528.090131.17267826.imp@bsdimp.com> Content-Type: text/plain Message-Id: <1085764038.485.71.camel@zircon> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 28 May 2004 10:07:18 -0700 Content-Transfer-Encoding: 7bit cc: stable@freebsd.org 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: Fri, 28 May 2004 17:08:11 -0000 On Fri, 2004-05-28 at 08:01, M. Warner Losh wrote: > In message: <1085610184.3232.250.camel@zircon> > Joe Kelsey writes: > : Gee, I ask a seemingly simple question about connecting a very simple > : driver to the system and all of ZERO people chime in with help. > : > : The only thing anyone had to say involved something like "Read and > : update isa_compat.h" and I can take it from there! However, noone said > : that or anything else for that matter. > : > : It really upsets me because it seems that absolutely *no* documentation > : exists for how to connect a driver to FreeBSD 4.x. Documentation exists > : for 3.x and 5.x, but none for 4.x. > : > : This mailing list just seems useless to me. > > stable tends to be more user oriented, and less developer oriented. I > read it less often than I do the other lists. > > Maybe if you could send me your driver, I can point out the problems > in it. Since you didn't provide any code, it really is hard to guess > what might be going wrong. isa_compat.h almost certainly isn't the > answer, since that's only for drivers in a transition period from the > old APIs to the new ones. 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. Thanks again. /Joe