Date: Mon, 18 Dec 2000 04:33:51 -0800 From: Julian Elischer <julian@elischer.org> To: Wes Peters <wes@softweyr.com> Cc: Devin Butterfield <dbutter@wireless.net>, hackers@freebsd.org Subject: Re: Writing Device Drivers Message-ID: <3A3E042F.7DEE0346@elischer.org> References: <3A3D513B.52737F48@wireless.net> <3A3D9D80.61F1EAFC@softweyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Wes Peters wrote: > > Devin Butterfield wrote: > > > > This is IMHO one of the advantages linux has over FreeBSD. You can run > > by your local Barnes & Noble bookstore and pick up a copy of "Linux > > Device Drivers" and start writing code that you actually understand. > > And they'll run fine in Linux 2.0.43pre11 or something like that. All > of those books are out of date by the time they hit the shelf in your > bookstore, and given the slew rate of Linux kernel APIs, finding any > of them useful seems pretty doubtful. > > Well-written man pages for FreeBSD would certainly be a boon, but printed > books wouldn't really help that much. There are books available on > writing BSD device drivers, but the kernel APIs have moved on since then, > as you've noticed. Perhaps a good project for someone who wants to under- > stand FreeBSD device drivers would be to update the section 9 man pages? If people would keep the samples in /usr/share/examples/drivers up to date then it would be a lot easier... I have the pci/isa driver skeleton pretty up-to-date, but it doesn't have any DMA example code, nor does it have any sample code for pccard or cardbus . > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > wes@softweyr.com http://softweyr.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v 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?3A3E042F.7DEE0346>