Date: Tue, 8 Nov 2005 11:55:56 -0500 From: John Baldwin <jhb@freebsd.org> To: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/pci viapm.c Message-ID: <200511081155.58098.jhb@freebsd.org> In-Reply-To: <20051108180810.588fc4c5@it.buh.tecnik93.com> References: <200511081556.jA8Fu32X002592@repoman.freebsd.org> <20051108180810.588fc4c5@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 08 November 2005 11:08 am, Ion-Mihai Tetcu wrote: > On Tue, 8 Nov 2005 15:56:03 +0000 (UTC) > > John Baldwin <jhb@FreeBSD.org> 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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511081155.58098.jhb>