mss.c pcm fix to ' attach returned 6 ' load failure for
v5.x acpi and up
Harry Coin
harrycoin at qconline.com
Mon Jul 11 19:22:43 GMT 2005
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");
More information about the freebsd-current
mailing list