Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 00:14:45 +0000
From:      Richard Airlie <kaneda@darq.net>
To:        Robert Eckardt <Robert.Eckardt@t-online.de>
Cc:        hackers@freebsd.org
Subject:   Re: Guide to writing device drivers sought
Message-ID:  <20030310001444.GA14554@phear.darq.net>
In-Reply-To: <20030309204400.M24984@Robert-Eckardt.de>
References:  <20030309204400.M24984@Robert-Eckardt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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