Date: Mon, 23 Aug 2010 11:42:46 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Xin LI <delphij@gmail.com> Cc: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, freebsd-hackers@freebsd.org Subject: Re: Winbond Watchdog Message-ID: <C3987FCC-2A29-478C-B503-E048751257CE@gsoft.com.au> In-Reply-To: <AANLkTinMPGdBbTr2ENci5tAHA-omOUgZXU4kbQ60V4U7@mail.gmail.com> 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> <AANLkTinMPGdBbTr2ENci5tAHA-omOUgZXU4kbQ60V4U7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-57--720310907 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 23/08/2010, at 1:24, Xin LI wrote: > 2010/8/7 Dag-Erling Sm=F8rgrav <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. >>=20 >> 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? >=20 > It's not a PCI device unfortunately (at least, not the one I have > encountered on my Supermicro board). They're LPC ISA devices, I don't know if they appear in any PNP or ACPI = tables though. -- 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 --Apple-Mail-57--720310907--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3987FCC-2A29-478C-B503-E048751257CE>