From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 23 02:13:00 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD3131065698 for ; Mon, 23 Aug 2010 02:13:00 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9D78FC16 for ; Mon, 23 Aug 2010 02:12:59 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.44]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o7N2ClxG037713 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 23 Aug 2010 11:42:53 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/signed; boundary=Apple-Mail-57--720310907; protocol="application/pkcs7-signature"; micalg=sha1 From: "Daniel O'Connor" In-Reply-To: Date: Mon, 23 Aug 2010 11:42:46 +0930 Message-Id: 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> To: Xin LI X-Mailer: Apple Mail (2.1081) X-Spam-Score: -2.51 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-hackers@freebsd.org Subject: Re: Winbond Watchdog X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 02:13:00 -0000 --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 : >> Xin LI 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--