Subject: Re: Is anyone out there? UltraSound Plug & Play question revisited...
To: Zach Fine <zach@xdsl014.serv.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 05/18/1999 20:20:27
--FreZHaLTZJo0R7j8
Content-Type: text/plain; charset=us-ascii

On May 18, Zach Fine wrote
> 
> Oops, sorry about that. It's at http://xdsl014.sev.net/JEHOIX.txt
> -Zach

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

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

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--

--FreZHaLTZJo0R7j8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

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

--FreZHaLTZJo0R7j8--