Gerhard Strangar <
g...@arcor.de> wrote:
> I'd like to write my own character device driver, however I failed to
> find some very basic example for a recent version of FreeBSD. I found
> examples for FreeBSD 4 and 5:
>
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-char.html
>
> The example for version 5 does compile, however, I wonder if this
> example is still up to date or if I need to change anything for version 8.x.
I think most of us just look at other drivers for reference. There is an
example driver somewhere under src/share, but it may also be stale. The
drivers@ mailing list is quite active, as is current@. You should be able
to find plenty of help there.
But just reading through a couple of drivers should set you on your way if
you have some experience writing device drivers on other platforms. There
isn't anything shocking in FreeBSD. :)
- Philip
--
Philip Paeps Please don't email any replies
phi...@paeps.cx I follow the newsgroup.