PERFORCE change 48850 for review

Juli Mallett jmallett at FreeBSD.org
Fri Mar 12 18:58:25 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=48850

Change 48850 by jmallett at 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().


More information about the p4-projects mailing list