Re: mss.c pcm fix to ' attach returned 6 ' load failure for v5.x acpi and up

From: Harry Coin <harrycoin_at_qconline.com>
Date: Mon, 11 Jul 2005 14:22:15 -0500
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");
Received on Mon Jul 11 2005 - 17:22:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC