PERFORCE change 175749 for review

Rafal Jaworowski raj at FreeBSD.org
Tue Mar 16 21:35:31 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=175749

Change 175749 by raj at raj_fdt on 2010/03/16 21:35:04

	Add 'fdtbus' a low priority ARM nexus child.
	
	Minor cosmetics in nexus_probe().

Affected files ...

.. //depot/projects/fdt/sys/arm/arm/nexus.c#2 edit

Differences ...

==== //depot/projects/fdt/sys/arm/arm/nexus.c#2 (text+ko) ====

@@ -107,7 +107,9 @@
 static int
 nexus_probe(device_t dev)
 {
+
 	device_quiet(dev);	/* suppress attach message for neatness */
+	device_add_child_ordered(dev, 200, "fdtbus", 0);
 
 	mem_rman.rm_start = 0;
 	mem_rman.rm_end = ~0u;
@@ -116,7 +118,7 @@
 	if (rman_init(&mem_rman) || rman_manage_region(&mem_rman, 0, ~0u))
 		panic("nexus_probe mem_rman");
 
-	return (0);
+	return (BUS_PROBE_DEFAULT);
 }
 
 static int


More information about the p4-projects mailing list