Date: Mon, 18 Dec 2000 14:48:43 -0800 From: Julian Elischer <julian@elischer.org> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Warner Losh <imp@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/examples/drivers make_device_driver.sh Message-ID: <3A3E944B.86D1AD8E@elischer.org> References: <33136.977174279@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3E944B.86D1AD8E>
