From owner-freebsd-hackers Sun Sep 7 09:20:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA26948 for hackers-outgoing; Sun, 7 Sep 1997 09:20:28 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA26943 for ; Sun, 7 Sep 1997 09:20:25 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id JAA29094; Sun, 7 Sep 1997 09:14:28 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd029091; Sun Sep 7 16:14:19 1997 Date: Sun, 7 Sep 1997 09:13:54 -0700 (PDT) From: Julian Elischer To: Joerg Wunsch cc: hackers@FreeBSD.ORG, =?iso-8859-1?Q?=DEor=F0ur_Ivarsson?= Subject: Re: How do I write device driver In-Reply-To: <19970907113504.JM23534@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id JAA26944 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 7 Sep 1997, J Wunsch wrote: > 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. though I think they are only tagged for -current so you may need to use the web0cvs tool to get them if you only have 2.2.2 > > -- > 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. ;-) >