Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2004 10:07:18 -0700
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        stable@freebsd.org
Subject:   Re: Thanks for All the Help
Message-ID:  <1085764038.485.71.camel@zircon>
In-Reply-To: <20040528.090131.17267826.imp@bsdimp.com>
References:  <1085610184.3232.250.camel@zircon> <20040528.090131.17267826.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2004-05-28 at 08:01, M. Warner Losh wrote:
> In message: <1085610184.3232.250.camel@zircon>
>             Joe Kelsey <joe@zircon.seattle.wa.us> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1085764038.485.71.camel>