Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 17:16:05 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Richard Airlie <kaneda@darq.net>
Cc:        Robert Eckardt <Robert.Eckardt@t-online.de>, hackers@freebsd.org
Subject:   Re: Guide to writing device drivers sought
Message-ID:  <Pine.BSF.4.21.0303091713370.98917-100000@InterJet.elischer.org>
In-Reply-To: <20030310001444.GA14554@phear.darq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At one stage the example driver in -current 
(/usr/share/examples/drivers) was correct for 4.x
but I don't know if that is true any more as
so many things have changed..

It's a shellscript that generates a skeleton driver for you.


On Mon, 10 Mar 2003, Richard Airlie wrote:

> hi,
> 
> On Sun, Mar 09, 2003 at 09:44:00PM +0100, Robert Eckardt wrote:
> > long ago I used the joy-driver as an example to integrate my own device
> > driver. I'm now trying (once again :-) to do the same in FreeBSD-4.7.
> > Unfortunately, joy no longer functions correctly (since 4.1) and so it is an
> > inappropriate example.
> 
> i have submitted a PR including a patch for this problem:
> 
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=46734>;
> 
> (it would be really nice if someone could look at this and give it the 'thumbs
> up' if its ok).
> 
> the patch allows for /dev/joy0 and /dev/joy1 to both exist, attached to the
> same I/O port (0x201).
> 
> if you look at the patch you'll see there are only minor changes required to
> achieve this.. its quite straightforward.
> 
> hope this is some use to you -
> 
> regards,
> richard.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0303091713370.98917-100000>