PERFORCE change 54448 for review

Juli Mallett jmallett at FreeBSD.org
Wed Jun 9 06:13:41 GMT 2004


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

Change 54448 by jmallett at 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);
 }
 


More information about the p4-projects mailing list