Date: Sat, 19 Mar 2005 12:49:03 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org Cc: dodell@offmyserver.com Subject: Re: Ziatech 5503 watchdog driver Message-ID: <200503191249.10188.doconnor@gsoft.com.au> In-Reply-To: <20050318.155553.41699848.imp@bsdimp.com> References: <20050318160528.GQ51688@smp500.sitetronics.com> <20050318.155553.41699848.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, 19 Mar 2005 09:25, Warner Losh wrote: > That's not a good enough reason to make it an option, it should really > be a device. Users that want it can add it to their kernel config. > In fact, they'd have to add it either way, so why make it weird for > them. > > Put this device on the ISA bus, give it an identify routine that > always adds it (this isn't GENERIC safe, but since there's no way to > know the device is there, you are stuck with that). A good example of this (which I shamelessly stole for work :) is in if_ep (although you only need the stuff from "child = .." to "bus_set_resource.."). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD4DBQBCO4we5ZPcIHs/zowRAuLPAJ9tXdw4FRzEJLPAJ7vao9iMfnC2bACYgf5m SemDAFyZ5nlAOOX73SG1Kg== =iLxR -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503191249.10188.doconnor>
