Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 06:13:39 GMT
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 54448 for review
Message-ID:  <200406090613.i596Ddx0016931@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54448

Change 54448 by jmallett@jmallett_oingo on 2004/06/09 06:12:46

	add gio at the end of attach, not in the middle of probe.

Affected files ...

.. //depot/projects/mips/sys/mips/sgimips/imc/imc.c#4 edit

Differences ...

==== //depot/projects/mips/sys/mips/sgimips/imc/imc.c#4 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/mips/sys/mips/sgimips/imc/imc.c#3 $
+ * $P4: //depot/projects/mips/sys/mips/sgimips/imc/imc.c#4 $
  */
 
 #include <sys/cdefs.h>
@@ -69,7 +69,6 @@
 {
 	switch (mach_type) {
 	case MACH_SGI_IP22:
-		device_add_child(dev, "gio", 0);
 		return (0);
 	default:
 		return (ENOENT);
@@ -152,6 +151,8 @@
 	}
 	IMC_WRITE_4(port, IMC_GIO64ARB, reg);
 
+	device_add_child(dev, "gio", 0);
+
 	return (0);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406090613.i596Ddx0016931>