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
> > 
> > Rather, I have no way to identify that the system has the device :).
> 
> 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?
> 
> --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

Attachment: pgpiI4n0WkP7o.pgp
Description: PGP signature

Reply via email to