Date: Sun, 9 Mar 2003 21:44:00 +0100 From: Robert.Eckardt@t-online.de (Robert Eckardt) To: hackers@freebsd.org Subject: Guide to writing device drivers sought Message-ID: <20030309204400.M24984@Robert-Eckardt.de>
next in thread | raw e-mail | index | archive | help
Hi, long ago I used the joy-driver as an example to integrate my own device driver. I'm now trying (once again :-) to do the same in FreeBSD-4.7. Unfortunately, joy no longer functions correctly (since 4.1) and so it is an inappropriate example. My driver is going to create two devices with different minor device numbers (/dev/dcf and /dev/dcf100) (as joy should do too), which can be used simultaneously (both accessing the same I/O port e.g. 0x201). Where can I find an introduction to the currently used device framework? (Things seem to be spreaad out over numerous man pages.) How can I write a device driver that creates multiple devices with different minor device numbers for each given I/O port? Which driver is suited best as a simple example? Where can I find an introduction how to deal with PnP- and Non-PnP-hardware correctly? Thanks, Robert -- Dr. Robert Eckardt --- Robert.Eckardt@Robert-Eckardt.de 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?20030309204400.M24984>