Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 18:58:23 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 48850 for review
Message-ID:  <200403130258.i2D2wNxP073021@repoman.freebsd.org>

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

Change 48850 by jmallett@jmallett_oingo on 2004/03/12 18:57:58

	Attach IMC :D

Affected files ...

.. //depot/projects/mips/sys/mips/sgimips/machdep_sgimips.c#26 edit

Differences ...

==== //depot/projects/mips/sys/mips/sgimips/machdep_sgimips.c#26 (text+ko) ====

@@ -28,6 +28,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/bus.h>
 
 #include <vm/vm.h>
 #include <vm/vm_page.h>
@@ -191,6 +192,19 @@
 }
 #endif
 
+void
+platform_configure(void)
+{
+	switch (mach_type) {
+	case MACH_SGI_IP22:
+		device_add_child(root_bus, "imc", 0);
+		break;
+	default:
+		panic("cannot autoconfigure type %d", mach_type);
+		break;
+	}
+}
+
 /*
  * XXX Maybe return the state of the watchdog in enter, and pass it to
  * exit?  Like spl().



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