Date: Wed, 24 Jun 2009 17:02:09 -0400 From: George Neville-Neil <gnn@neville-neil.com> To: Max Laier <max@love2party.net> Cc: freebsd-current@freebsd.org, "Sean P. Dew" <freebsd.work@gmail.com> Subject: Re: building device drivers for FreeBSD 7.2+ /AMD64 Message-ID: <356FDE11-944F-4CDA-A398-70252C6010CC@neville-neil.com> In-Reply-To: <200906200643.24654.max@love2party.net> References: <20090620042333.520971CC09@ptavv.es.net> <200906200643.24654.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com> >>> Sender: owner-freebsd-current@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?356FDE11-944F-4CDA-A398-70252C6010CC>