From owner-freebsd-current@FreeBSD.ORG Mon Jul 18 20:25:03 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E21016A41C; Mon, 18 Jul 2005 20:25:03 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA5DF43D45; Mon, 18 Jul 2005 20:25:02 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-187-230.dsl.snfc21.pacbell.net [64.171.187.230]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6IKP0o5000919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 18 Jul 2005 13:25:01 -0700 Message-ID: <42DC0E2A.9030706@root.org> Date: Mon, 18 Jul 2005 13:16:42 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <4.3.2.7.2.20050716114020.01f0fcb8@mail.qconline.com> <4.3.2.7.2.20050716124022.01f08460@mail.qconline.com> <20050716.125824.48530425.imp@bsdimp.com> <200507181619.31189.jhb@FreeBSD.org> In-Reply-To: <200507181619.31189.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, harrycoin@qconline.com, "M. Warner Losh" Subject: Re: mss.c pcm fix to ' attach returned 6 ' load failure for v5.x acpi and up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 20:25:03 -0000 John Baldwin wrote: > On Saturday 16 July 2005 02:58 pm, M. Warner Losh wrote: > >>: dmesg excerpt ... >>: mss_probe: bus acpi0 is probing device pcm0 >>: mss_probe: isa_get_logicalid() returned 0! >> >>This is the problem. It shouldn't be probing there. It doesn't in >>current. Chances are John beat me to it and we're arguing over >>something that's been fixed... > > > I removed that probe in current. The problem is that ACPI has HID values that > are strings like "ACPI0003" that don't fit the EISAID model, so for devices > like ACPI thermal zones that only have an ACPI HID, there's no PNP-compatible > HID or CID to return to the ISA drivers. I think the proper solution is that > drivers that don't support ACPI-enumerate devices (recall that ACPI > enumerates PNPBIOS devices) need to stop having acpi attachments, and that > drivers that do need to use ISA_PNP_PROBE(). I think that the only embedded > sound controllers are PCI, so that probably all of the ISA PNP sound drivers > don't need acpi attachments but I could be wrong. You can have a sound controller present in a dock. Most of those are across a pci-pci bridge but some docks export the LPC bus lines directly to a duplicate super I/O. I agree with you though that it is very unlikely someone used such a design for the sound controller. -- Nate