From owner-freebsd-hackers Mon Dec 8 15:22:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA27155 for hackers-outgoing; Mon, 8 Dec 1997 15:22:35 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA27110 for ; Mon, 8 Dec 1997 15:22:21 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.5/8.8.5) with ESMTP id XAA04617 for ; Mon, 8 Dec 1997 23:01:56 GMT Message-ID: <348C8223.4FF22185@tdx.co.uk> Date: Mon, 08 Dec 1997 23:26:27 +0000 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: hackers@freebsd.org Subject: Writing Device drivers for 2.2.X etc' Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm trying to write a device driver for an ISA signal processor card - I've made sure there isn't one around at the moment (why re-invent the wheel? ) - and I could do with some help... I downloaded some shell scripts, which at the time looked like a good idea - they create a driver framework to work from (with all the code stubs written for probing, creating, attaching, doing IOCTL's etc.) - but the code refers to manually editing 'conf.c'... My 2.2.2-Release system doesn't have a conf.c ;-) The templates also don't seem to mention major / minor device numbers either - unless they 'were' taken care of in conf.c at some point in the past? Can anyone point the way to some up to date (i.e. 2.2.2+ etc.) info on the net about writing device drivers for BSD - i.e. up to date templates etc.? for nice simple ISA cards, or just code stubs? - Or are there any drivers in BSD which are nice and simple for using as templates allready? Thanks in advance, Karl Pielorz (mailto:kpielorz@tdx.co.uk)