From owner-cvs-all@FreeBSD.ORG Tue Nov 8 17:18:24 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF00B16A421; Tue, 8 Nov 2005 17:18:24 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B8C343D55; Tue, 8 Nov 2005 17:18:18 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1589981 for multiple; Tue, 08 Nov 2005 12:19:50 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA8HHglk027498; Tue, 8 Nov 2005 12:17:42 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ion-Mihai Tetcu Date: Tue, 8 Nov 2005 11:55:56 -0500 User-Agent: KMail/1.8.2 References: <200511081556.jA8Fu32X002592@repoman.freebsd.org> <20051108180810.588fc4c5@it.buh.tecnik93.com> In-Reply-To: <20051108180810.588fc4c5@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511081155.58098.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/pci viapm.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 17:18:25 -0000 On Tuesday 08 November 2005 11:08 am, Ion-Mihai Tetcu wrote: > On Tue, 8 Nov 2005 15:56:03 +0000 (UTC) > > John Baldwin wrote: > > jhb 2005-11-08 15:56:03 UTC > > > > FreeBSD src repository > > > > Modified files: (Branch: RELENG_6) > > sys/pci viapm.c > > Log: > > MFC: Add the device ID for the VIA VT8235 south bridge. > > What about 8237 ? I own a few boards with this cip, how can I get the > device id ? > > (with acpi) > > isab0@pci0:17:0: class=0x060100 card=0x50011458 chip=0x32271106 > rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' > device = 'VT8237 PCI-to-ISA Bridge' > class = bridge > subclass = PCI-ISA This is the device that might matter though I'm not sure if it will work. You can try this patch: Index: viapm.c =================================================================== RCS file: /usr/cvs/src/sys/pci/viapm.c,v retrieving revision 1.12 diff -u -r1.12 viapm.c --- viapm.c 31 Oct 2005 18:43:28 -0000 1.12 +++ viapm.c 8 Nov 2005 16:55:08 -0000 @@ -72,6 +72,7 @@ #define VIA_8233_PMU_ID 0x30741106 #define VIA_8233A_PMU_ID 0x31471106 #define VIA_8235_PMU_ID 0x31771106 +#define VIA_8237_PMU_ID 0x32271106 #define VIAPM_INB(port) \ ((u_char)bus_space_read_1(viapm->st, viapm->sh, port)) @@ -284,6 +285,12 @@ base_cfgreg = VIAPM_8233_BASE; goto viapro; + case VIA_8237_PMU_ID: + desc = "VIA VT8237 Power Management Unit"; + viapm->type = VIAPM_TYP_UNKNOWN; + base_cfgreg = VIAPM_8233_BASE; + goto viapro; + viapro: #ifdef VIAPM_BASE_ADDR That assumes it is just like the 8233 and 8235. No idea if it will actually work, you'll just have to try it out if you are feeling brave. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org