Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 31st May 2008
WeakSauceIII WeakSauceIII is offline
Port Guard
Join Date: May 2008
Posts: 36
Default Driver development

Can someone please post complete instructions on how to write a driver from scratch?


I have done some development in windows on this topic and am researching the BSD way. I have the book "the design and implementation of the FreeBSD operating system" and it has a lot of good detailed info on the hardware setup and seems to be mostly relatable to OpenBSD. I also have the book "Writing Unix device drivers" by george pajari. It's dated (around 1991) and specific to UNIX system V but gives detailed walkthroughs and source code for all drivers types explaining the code line by line. It also seems to be at least 70% relatable to BSD. The combination of these two gets me real close. My question is this, where can i get the hardware specs for a device? I mean the low level control registers and such. I know that most of that is proprietary and not available which is what makes it hard to make OBSD compatible drivers but for the hardware that is open does anyone know a good site or resource? I'm not even sure what to call it. I searched for technical specs, driver specs ect... on intel and other sites but i can't find what I'm looking for. Of course the source code for OBSD drivers is a great resource as well.

Last edited by WeakSauceIII; 31st May 2008 at 02:11 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
msk(4) Driver indienick FreeBSD General 4 4th May 2009 04:51 PM
FreeBSD 7.0 and the nfe driver map7 FreeBSD General 2 17th October 2008 04:44 AM
X Radeon driver sum FreeBSD Installation and Upgrading 5 28th September 2008 03:49 PM
NetBSD USB Driver jmarc007 NetBSD Installation and Upgrading 1 13th May 2008 04:45 AM
Mono development On FreeBSD roddierod Programming 5 8th May 2008 09:13 PM

All times are GMT. The time now is 01:31 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick