From owner-cvs-all Mon Dec 18 14:49:40 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 18 14:49:34 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 4344037B404; Mon, 18 Dec 2000 14:49:33 -0800 (PST) Received: from marakesh-16.budapest.interware.hu ([195.70.50.144] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 148963-0007m3-00; Mon, 18 Dec 2000 23:49:31 +0100 Sender: julian@FreeBSD.ORG Message-ID: <3A3E944B.86D1AD8E@elischer.org> Date: Mon, 18 Dec 2000 14:48:43 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Warner Losh , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/examples/drivers make_device_driver.sh References: <33136.977174279@critter> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message <200012182108.eBIL8sj42300@freefall.freebsd.org>, Warner Losh writes > : > > Modified files: > > share/examples/drivers make_device_driver.sh > > Log: > > > We still should have this generate foo_{isa,pci,pccard,cardbus,eisa}.c > > and foovar.h from templates of some sort, but I was too lazy to do > > that in this commit. I did document it in the comments, however. > > Ideally by making it: > > sh make_device_driver.sh --name foo [--isa] [--eisa] [--pci] in this case is --isa deleting or adding an ISA attach routine? (and why "--" and not "-"?) but yes havng it leave out un-needed bits would make it easier for the user to undertand what he needs.. also -dma PC -dma PCI -dma busmaster but I get a bit too ambitious at the moment.. making a basic driver skeleton that does: PCI cardbus ISA-legacy ISA-PNP is a good start.. > > So that one can specify which attachments should be generated... > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message