[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writting device drivers
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Writting device drivers
- From: Jonathan Smith <maligned_(_at_)_attcanada_(_dot_)_net>
- Date: Thu, 22 Jun 2000 13:45:09 -0700
"Writing Unix Device Drivers" is indeed a excellent book however I found
I did not need it. You can extrapolate most of what you need to know by
examining the source of a similar driver that's already been written. I
would start buy examining a pseudo device driver and perhaps writing
your own to do something similar, a good starting place is to start
with passing messages through ioctl(), netbsd wrote a quick and dirty
tutorial in doing such things there however subtle differences between
netbsd and openbsd if pressed I could write them up so you could
recreate what they are doing (assuming you can't figure the difference's
out).
Writing a pseudo device driver,
http://www.netbsd.org/Documentation/kernel/pseudo/
Jonathan
Visit your host, monkey.org