PERFORCE change 48849 for review

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


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

Change 48849 by jmallett at jmallett_oingo on 2004/03/12 18:57:48

	Attach platform busses...

Affected files ...

.. //depot/projects/mips/sys/mips/include/hwfunc.h#3 edit
.. //depot/projects/mips/sys/mips/mips/autoconf.c#2 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/hwfunc.h#3 (text+ko) ====

@@ -32,6 +32,7 @@
  * Hooks downward into hardware functionality.
  */
 
+void platform_configure(void);
 void platform_halt(void);
 void platform_reset(void);
 void platform_start(int, char *[]);

==== //depot/projects/mips/sys/mips/mips/autoconf.c#2 (text+ko) ====

@@ -29,6 +29,7 @@
 #include <sys/systm.h>
 #include <sys/bus.h>
 #include <sys/kernel.h>
+#include <machine/hwfunc.h>
 
 static device_t nexusdev;
 
@@ -40,5 +41,6 @@
 configure(void *arg)
 {
 	nexusdev = device_add_child(root_bus, "nexus", 0);
+	platform_configure();
 	root_bus_configure();
 }


More information about the p4-projects mailing list