Subject: Re: Is anyone out there? UltraSound Plug & Play question revisited...
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Zach Fine <zach@xdsl014.serv.net>
List: netbsd-help
Date: 05/19/1999 00:13:16
That patch fixed the problem. Thank you very much for your help.

Now if I could just figure out what I'd need to code in order to glue
the midi port on the guspnp to the new midi driver...

Thanks.
-Zach Fine
czyz@serv.net


>>>>> "Manuel" == Manuel Bouyer <bouyer@antioche.lip6.fr> writes:

    Manuel> Ok. Sure, the driver doesn't attach an audio*.

    Manuel> Could you try the attached patch ? This is a change that
    Manuel> went in NetBSD-current a few days ago.

    Manuel> -- Manuel Bouyer, LIP6, Universite Paris VI.
    Manuel> Manuel.Bouyer@lip6.fr -- Index: gus_isapnp.c
    Manuel> ===================================================================
    Manuel> RCS file: /cvsroot/src/sys/dev/isapnp/gus_isapnp.c,v
    Manuel> retrieving revision 1.13 retrieving revision 1.14 diff -u
    Manuel> -r1.13 -r1.14 --- gus_isapnp.c 1999/03/22 10:00:10 1.13
    Manuel> +++ gus_isapnp.c 1999/05/18 16:41:07 1.14 @@ -1,4 +1,4 @@
    Manuel> -/* $NetBSD: gus_isapnp.c,v 1.13 1999/03/22 10:00:10
    Manuel> mycroft Exp $ */ +/* $NetBSD: gus_isapnp.c,v 1.14
    Manuel> 1999/05/18 16:41:07 augustss Exp $ */
 
    Manuel>  /* * Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
    Manuel> @@ -126,7 +126,7 @@ * The thing has 5 separate devices on
    Manuel> the card */
 
    Manuel> -static int gus_0 = 0; /* XXX what's this */ +static int
    Manuel> gus_0 = 1; /* XXX what's this */
 
    Manuel>  int gus_isapnp_match(parent, match, aux) @@ -149,8 +149,6
    Manuel> @@ * pseudo-device driver.  */
 
    Manuel> -static struct iw_softc *gussc; - void
    Manuel> gus_isapnp_attach(parent, self, aux) struct device
    Manuel> *parent, *self; @@ -170,8 +168,6 @@
    sc-> sc_dev.dv_xname);
    Manuel>  		return; } - - gussc = sc;
 
    sc-> sc_iot = ipa->ipa_iot;