From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 9 21:36:19 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D810E106564A for ; Tue, 9 Mar 2010 21:36:19 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from Mail.elbekies.net (mail.elbekies.net [217.6.211.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7388FC0C for ; Tue, 9 Mar 2010 21:36:19 +0000 (UTC) Received: from bel.soho.vwsoft.com (p4FE2343A.dip.t-dialin.net [79.226.52.58]) by Mail.elbekies.net (Postfix) with ESMTPA id 570592E05A for ; Tue, 9 Mar 2010 22:20:16 +0100 (CET) Received: from [192.168.16.4] (dardanos.sz.vwsoft.com [192.168.16.4]) by bel.soho.vwsoft.com (Postfix) with ESMTP id BE15233C7C for ; Tue, 9 Mar 2010 22:19:58 +0100 (CET) Message-ID: <4B96BB82.5090805@vwsoft.com> Date: Tue, 09 Mar 2010 22:20:02 +0100 From: volker@vwsoft.com User-Agent: Thunderbird 2.0.0.23 (X11/20100306) MIME-Version: 1.0 To: hackers@freebsd.org X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-ID: 570592E05A.AA272 X-Elbekies-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com MailScanner-NULL-Check: 1268774417.03407@o2OkIk5e1NKwtPCNrEa0kA Cc: Subject: southbridge recognition 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: Tue, 09 Mar 2010 21:36:19 -0000 Hi! For some driver enhancements, I need to decide (by code) which southbridge (Intel, AMD is all that matters) the driver is facing. What's the best (portable wise) way to distinguish the chipset? Intel supports two pages of 128 byte CMOS RAM, AMD supports 1 page of 256 byte (addressing is different). Is there any way to query the CMOS RAM size? I failed to find a way while reading Intel & AMD chipset documentation. Older chipsets supported only 64 (very old) or 128 byte. Recent (as of for the last 15 years or so) chipsets supports more. As our current nvram(4) driver only works with 128 byte RAM size, is anybody interested in seeing the nvram(4) driver enhanced for extended memory areas? I do have working code but that assumes an Intel ICH or 440LX chipset (fails for SB{67]xx for some reason :). Thank you for any pointers! Volker