Date: Mon, 11 Jul 2005 14:22:15 -0500 From: Harry Coin <harrycoin@qconline.com> To: John Baldwin <jhb@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: mss.c pcm fix to ' attach returned 6 ' load failure for v5.x acpi and up Message-ID: <4.3.2.7.2.20050711142120.01edd3f0@mail.qconline.com>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20050711142120.01edd3f0>