From owner-freebsd-stable@FreeBSD.ORG Fri May 28 18:37:33 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 6C27316A4CE for ; Fri, 28 May 2004 18:37:33 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF74143D46 for ; Fri, 28 May 2004 18:37:32 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i4T1bO1q051506; Fri, 28 May 2004 19:37:24 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 28 May 2004 19:37:47 -0600 (MDT) Message-Id: <20040528.193747.106264828.imp@bsdimp.com> To: joe@zircon.seattle.wa.us From: "M. Warner Losh" In-Reply-To: <1085764038.485.71.camel@zircon> References: <1085610184.3232.250.camel@zircon> <20040528.090131.17267826.imp@bsdimp.com> <1085764038.485.71.camel@zircon> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii 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: Sat, 29 May 2004 01:37:33 -0000 In message: <1085764038.485.71.camel@zircon> Joe Kelsey writes: : 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. OK. I'll write up some stuff this weekend. Warner