From owner-freebsd-hackers Thu Jan 8 10:47:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA14030 for hackers-outgoing; Thu, 8 Jan 1998 10:47:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from db2server.voga.com.br (db2server.voga.com.br [200.239.39.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA13329 for ; Thu, 8 Jan 1998 10:42:24 -0800 (PST) (envelope-from daniel_sobral@voga.com.br) From: daniel_sobral@voga.com.br Received: from papagaio.voga.com.br (papagaio.voga.com.br [200.239.39.2]) by db2server.voga.com.br (8.8.3+2.6Wbeta9/8.8.7) with SMTP id QAA11956; Thu, 8 Jan 1998 16:43:00 -0200 Received: by papagaio.voga.com.br(Lotus SMTP MTA v1.06 (346.7 3-18-1997)) id 03256586.006C4DFB ; Thu, 8 Jan 1998 16:42:58 -0300 X-Lotus-FromDomain: VOGA To: gurney_j@resnet.uoregon.edu cc: hackers@FreeBSD.ORG Message-ID: <83256586.006BE367.00@papagaio.voga.com.br> Date: Thu, 8 Jan 1998 16:42:54 -0300 Subject: Re: make_device_driver.sh Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > because the code is missing this functionality... and requires the > hard coded configuration obtained from ioconf.c (via config(8))... IRQ, base i/o, interrupt vector, etc? I was planning to hard code all that into isa_device structure, through defines on lkm/drivername/Makefile. I'm more interested in providing an easy way to develop drivers (since most people using this script are likely to be beginners at the dd writing stuff) than any production level stuff. Not having to reboot is kind of neat. :-) Is there anything not in isa_device structure being set? > now you could hard code everything and just access the hardware, but > that would just be ugly... also, there isn't a way to access the > routine to initally config an isa device (but you can reconfig it).. What do you mean routine to initially config an isa device? What routine? -- Daniel C. Sobral (8-DCS) Daniel_Sobral@voga.com.br