Date: Sat, 19 Mar 2005 10:04:02 +0100 From: "Devon H. O'Dell " <dodell@offmyserver.com> To: freebsd-hackers@freebsd.org Subject: Re: Ziatech 5503 watchdog driver Message-ID: <20050319090402.GZ51688@smp500.sitetronics.com> In-Reply-To: <20050319084341.GY51688@smp500.sitetronics.com> References: <20050318160528.GQ51688@smp500.sitetronics.com> <20050318.155553.41699848.imp@bsdimp.com> <20050319080215.GX51688@smp500.sitetronics.com> <20050319084341.GY51688@smp500.sitetronics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gSSGYPGSs0dvYOj7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 19, 2005 at 09:43:41AM +0100, Devon H. O'Dell wrote: > On Sat, Mar 19, 2005 at 09:02:15AM +0100, Devon H. O'Dell wrote: > > On Fri, Mar 18, 2005 at 03:55:53PM -0700, Warner Losh wrote: > > > > I'm busy writing a Ziatech 5503 watchdog driver for FreeBSD (and > > > > porting all the watchdog stuff to DragonFly BSD) and Plan 9. For my > > > > driver, I have no way to identify that the system has the driver, so > > > > I wanted to make it conditional on > >=20 > > Rather, I have no way to identify that the system has the device :). >=20 > AHA! But I have finally found something that will make my life a > little easier, I think. I just noticed a read only register with a > default value of 0x80 and tested it. It returns 0x80. Is this enough > to test on / probe for? >=20 > --Devon Sorry, hate replying to myself. Turns out the value here is variable. Assuming I cannot find anything to identify the system, can I simply attach the driver if it is enabled in the configuration file? --Devon --gSSGYPGSs0dvYOj7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCO+sCSkf3jVXOdl0RApTjAJ9deGmGf+0YWz2ZEXDHaNtnxQVP4wCePi55 yQpu65BMwOl4hFqxpgTHerw= =pyqm -----END PGP SIGNATURE----- --gSSGYPGSs0dvYOj7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050319090402.GZ51688>