Date: Sat, 07 Aug 2010 14:53:10 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: d@delphij.net Cc: freebsd-hackers@freebsd.org, Matthew Jacob <mj@feral.com> Subject: Re: Winbond Watchdog Message-ID: <86ocde8tzd.fsf@ds4.des.no> In-Reply-To: <4C5D4BFD.9080803@delphij.net> (Xin LI's message of "Sat, 07 Aug 2010 05:05:17 -0700") 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. I imagine you check the PCI id etc. first? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ocde8tzd.fsf>