Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 2010 08:54:22 -0700
From:      Xin LI <delphij@gmail.com>
To:        =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Winbond Watchdog
Message-ID:  <AANLkTinMPGdBbTr2ENci5tAHA-omOUgZXU4kbQ60V4U7@mail.gmail.com>
In-Reply-To: <86ocde8tzd.fsf@ds4.des.no>
References:  <4C2B07F5.6030801@delphij.net> <4C2B4D35.8060903@feral.com> <86lj9wmbrz.fsf@ds4.des.no> <4C2BBF3C.4070503@delphij.net> <86hbkkmad1.fsf@ds4.des.no> <4C2BD498.3090704@delphij.net> <86d3v7n093.fsf@ds4.des.no> <4C5D4BFD.9080803@delphij.net> <86ocde8tzd.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/7 Dag-Erling Sm=C3=B8rgrav <des@des.no>:
> Xin LI <delphij@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. =C2=
=A0I
> 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 brin=
g in.

Cheers,
--=20
Xin LI <delphij@delphij.net> http://www.delphij.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinMPGdBbTr2ENci5tAHA-omOUgZXU4kbQ60V4U7>