From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 19 02:19:32 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F1316A4CE; Sat, 19 Mar 2005 02:19:32 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 692AE43D5F; Sat, 19 Mar 2005 02:19:31 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j2J2JEJg075125; Sat, 19 Mar 2005 12:49:15 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Sat, 19 Mar 2005 12:49:03 +1030 User-Agent: KMail/1.7.92 References: <20050318160528.GQ51688@smp500.sitetronics.com> <20050318.155553.41699848.imp@bsdimp.com> In-Reply-To: <20050318.155553.41699848.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart185200817.2foXXOFxe3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503191249.10188.doconnor@gsoft.com.au> X-Spam-Score: -5.1 () IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: hackers@freebsd.org cc: dodell@offmyserver.com Subject: Re: Ziatech 5503 watchdog driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 02:19:32 -0000 --nextPart185200817.2foXXOFxe3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 (although you only need the stuff from "child =3D .." to "bus_set_resource.= =2E"). =2D-=20 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 --nextPart185200817.2foXXOFxe3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD4DBQBCO4we5ZPcIHs/zowRAuLPAJ9tXdw4FRzEJLPAJ7vao9iMfnC2bACYgf5m SemDAFyZ5nlAOOX73SG1Kg== =iLxR -----END PGP SIGNATURE----- --nextPart185200817.2foXXOFxe3--