From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 12 14:59:33 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F17016A500 for ; Wed, 12 Jul 2006 14:59:33 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC5143D45 for ; Wed, 12 Jul 2006 14:59:32 +0000 (GMT) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G0gAB-0001JW-Kh for freebsd-acpi@freebsd.org; Wed, 12 Jul 2006 16:58:07 +0200 Received: from ip244.gte215.dsl-acs2.sea.iinet.com ([209.20.215.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jul 2006 16:58:07 +0200 Received: from atkin901 by ip244.gte215.dsl-acs2.sea.iinet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jul 2006 16:58:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-acpi@freebsd.org From: othermark Date: Wed, 12 Jul 2006 07:58:42 -0700 Lines: 61 Message-ID: References: <20060711.005639.-233674225.imp@bsdimp.com> <20060711.150742.1649768833.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip244.gte215.dsl-acs2.sea.iinet.com User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) In-Reply-To: <20060711.150742.1649768833.imp@bsdimp.com> Sender: news Subject: Re: sio0 wiring to a resource patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 14:59:33 -0000 M. Warner Losh wrote: > In message: > othermark writes: > : M. Warner Losh wrote: > : > : > Please find enclosed an experimental patch. It does two things. > : [...] > : > Anyway, please test these patches out and let me know if you have > : > problems. > : > > : > Warner > > Doh! I forgot to include that in my patch. My mistake. Comes from > doing too many things in that branch. > > http://people.freebsd.org/~imp/wire-unit.diff > > Basically, delete the sio_pci_kludge_unit function, remove its > declaration and the one place it calls it. That URL/page gives a 404, so I deleted sio_pci_kludge_unit function, declaration and it's call in sio_pci.c and compiled and installed a new kernel. I then removed the DSDT.aml and loader.conf files for the machine and rebooted. sio0 and sio1 were still backwards and device.hints in boot wasn't overruling the acpi info. When the machine boots up, I know that device.hints was loaded correctly from kenv, although sio0 was wired to 0x2f8 irq 3 hint.sio.0.at="isa" hint.sio.0.flags="0x10" hint.sio.0.irq="4" hint.sio.0.port="0x3F8" hint.sio.1.at="isa" hint.sio.1.irq="3" hint.sio.1.port="0x2F8" hint.sio.2.at="isa" hint.sio.2.disabled="1" hint.sio.2.irq="5" hint.sio.2.port="0x3E8" hint.sio.3.at="isa" hint.sio.3.disabled="1" hint.sio.3.irq="9" hint.sio.3.port="0x2E8" sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FAST] sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A sio1: [FAST] In short, not working on this machine at least... Let me know what other information I can provide. -Mark