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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to