Winbond Watchdog

Xin LI delphij at gmail.com
Sun Aug 22 16:22:34 UTC 2010


2010/8/7 Dag-Erling Smørgrav <des at des.no>:
> Xin LI <delphij at delphij.net> writes:
>> I'm still polishing up the driver, there seems to be no way to figure
>> out the base port address directly (datasheet said it's either 0x2e and
>> 0x4e) so for now I have its device identify method to do some dirty
>> hacks (outb/inb directly) and only check if with appropriate key entered
>> to the port we will get non-0xff value.
>
> Sounds gross, but if there's no other way, I guess it'll have to do.  I
> imagine you check the PCI id etc. first?

It's not a PCI device unfortunately (at least, not the one I have
encountered on my Supermicro board).

I have a code snapshot at:

http://people.freebsd.org/~delphij/for_review/winbondwd/

But there are some good features in bz@'s driver which I would like to bring in.

Cheers,
-- 
Xin LI <delphij at delphij.net> http://www.delphij.net


More information about the freebsd-hackers mailing list