Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 11:39:33 +1000
From:      Peter Clutton <peterclutton@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Learning to write FreeBSD Device Drivers
Message-ID:  <57416b300510201839g5a4170f6r8694594eb7de52a7@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi everyone, hope this isn't too off topic. I'm a sysadmin who taught
myself programming (and have worked as a PHP ad MYSQL developer) and
really want to develop my FreeBSD skills, and hopefully one day be
able to give something back to FreeBSD.

I want to start writing device drivers, and would love any pointers to
resources and tips from anyone. At the moment I'm reading a good C
primer, along with The Design and Implementation of The FreeBSD
Operating System ( a great book), and browsing the relevant sections
in the Handbook and the source code. I'm wondering what else i could
look at to help "join the ends" if you know what i mean.

I know there is a comprehensive book on writing device drivers for
Linux, would it help conceptually, or at all (i know the system calls
are different) to read this as a beginning? Would looking at two
drivers for the same hardware, for Linux and FreeBSD, looking at the
difference, and maybe first try porting a new one be a good idea? Are
there any other good resources anyone could point me to? I hope you
don't think I'm too focused on linux resources, if I wanted to take
the easy way, I'd be interested in it, but i much prefer FreeBSD.

Any tips or pointers to resources would be much appreciated!! Thanks in adv=
ance.



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