From owner-freebsd-hackers Thu Sep 4 08:31:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA05681 for hackers-outgoing; Thu, 4 Sep 1997 08:31:56 -0700 (PDT) Received: from isgate.is (isgate.is [193.4.58.51]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA05676 for ; Thu, 4 Sep 1997 08:31:53 -0700 (PDT) Received: from eh.est.is (eh.est.is [194.144.208.34]) by isgate.is (8.7.5-M/) with ESMTP id PAA09786 for ; Thu, 4 Sep 1997 15:31:46 GMT Received: from didda.est.is (totii@ppp-04.est.is [194.144.208.104]) by eh.est.is (8.8.5/8.8.5) with SMTP id PAA02571 for ; Thu, 4 Sep 1997 15:31:41 GMT Message-ID: <340ED42B.41C67EA6@est.is> Date: Thu, 04 Sep 1997 15:30:51 +0000 From: =?iso-8859-1?Q?=DEor=F0ur?= Ivarsson X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: hackers@freebsd.org Subject: How do I write device driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can any of you help me with writing device driver for two cards i have here on my desk. I have all documents and API information for the cards. One is AD converter 8input 12bit + 1 DA 12bit and the other is digital IO card with 6 8bit ports and timer IO based on two 8255 and one 8253 I heard of something like /dev/IO but I did not find any information about writing interface to it. I am hacking labpc.c now and there seems to be some of the code I need. What files in the kernel do I need to add into to get this working. Thordur Ivarsson totii@est.is