From owner-freebsd-current@FreeBSD.ORG Mon Jul 11 19:22:42 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 DD02C16A41C; Mon, 11 Jul 2005 19:22:42 +0000 (GMT) (envelope-from harrycoin@qconline.com) Received: from mail.qconline.com (mail.qconline.com [204.176.110.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A9743D4C; Mon, 11 Jul 2005 19:22:41 +0000 (GMT) (envelope-from harrycoin@qconline.com) Received: from devoffice.qconline.com (unverified [64.4.171.82]) by mail.qconline.com (Vircom SMTPRS 3.1.302.0) with ESMTP id ; Mon, 11 Jul 2005 14:23:07 -0500 Message-Id: <4.3.2.7.2.20050711142120.01edd3f0@mail.qconline.com> X-Sender: harrycoin@mail.qconline.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 11 Jul 2005 14:22:15 -0500 To: John Baldwin From: Harry Coin Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-current@FreeBSD.org 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, 11 Jul 2005 19:22:43 -0000 John, P.P.S. The code in mss.c that gave rise to the working acpi boot in the P.S. (per the manual requirement) is static struct isa_pnp_id mss_ids[] = { {0} }; static int mss_probe(device_t dev) { u_char tmp, tmpx; int flags, irq, drq, result = ENXIO, setres = 0; struct mss_info *mss; printf("mss_probe: bus %s is probing device %s\n",device_get_nameunit(device_get_parent(dev)),device_get_nameunit(dev)); result = ISA_PNP_PROBE(device_get_parent(dev), dev, mss_ids); if (result!=ENOENT) return ENXIO; /* only continue if the device is not pnp */ /* old way- not so good for ACPI: */ //if (isa_get_logicalid(dev)) return ENXIO; printf("mss_probe: non pnp audio chip detected.\n");