building device drivers for FreeBSD 7.2+ /AMD64
George Neville-Neil
gnn at neville-neil.com
Wed Jun 24 21:30:57 UTC 2009
On Jun 20, 2009, at 00:43 , Max Laier wrote:
> On Saturday 20 June 2009 06:23:33 Kevin Oberman wrote:
>>> Date: Fri, 19 Jun 2009 21:04:53 -0700
>>> From: "Sean P. Dew" <freebsd.work at gmail.com>
>>> Sender: owner-freebsd-current at freebsd.org
>>>
>>> Is there any tutorial/book on building device drivers for Free BSD?
>>
>> The canonical one is "The FreeBSD Developers' Handbook"
>> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/i
>> ndex.html)
>>
>> Also, see the FreeBSD Documentation pages for information on paper
>> books. http://www.freebsd.org/publish.html
>>
>> While a bit out of date, Kirk McKusick and George Neville-Neil's "The
>> Design and Implementation of the FreeBSD Operating System", ISBN
>> 4-7561-4679-1 is still probably the most detailed presentation on the
>> OS internals. Based on FreeBSD 5.2, it is the modern kernel and
>> driver
>> design, but it is still nearly 5 years old.
>
> You might also want to look at the driver(9) man page and those linked
> from there. In addition check out jmg's 2006 BSDCan Presentation:
> http://www.bsdcan.org/2006/papers/freebsd.device.driver.slides.pdf
> http://www.bsdcan.org/2006/papers/freebsd.driver.pdf
Also a tutorial I gave at BSDCan this year:
http://www.bsdcan.org/2009/schedule/track/Tutorial/146.en.html
And a video of that can be bought here:
https://www.mckusick.com/courses/netorderform.html
Note that this is about network device drivers using the igb (Intel
Gigabit Ethernet)
driver as the example.
Best,
George
More information about the freebsd-current
mailing list