Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 1997 11:35:04 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        hackers@FreeBSD.ORG
Cc:        totii@est.is (=?iso-8859-1?Q?=DEor=F0ur_Ivarsson?=)
Subject:   Re: How do I write device driver
Message-ID:  <19970907113504.JM23534@uriah.heep.sax.de>
In-Reply-To: =?iso-8859-1?Q?=3C340ED42B=2E41C67EA6=40est=2Eis=3E=3B_from_=DEor=F0ur_I?= =?iso-8859-1?Q?varsson_on_Sep_4=2C_1997_15=3A30=3A51_%2B0000?=
References:  <340ED42B.41C67EA6@est.is>

next in thread | previous in thread | raw e-mail | index | archive | help
As Žoršur Ivarsson wrote:

> I heard of something like /dev/IO but I did not find any information
> about
> writing interface to it.

man 4 io

> What files in the kernel do I need to add into to get this working.

Best pick a template driver in /sys/i386/isa, and tweak it for your
needs.  There's also a /usr/share/examples/drivers.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970907113504.JM23534>