Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 21:35:30 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 175749 for review
Message-ID:  <201003162135.o2GLZUkp098932@repoman.freebsd.org>

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

Change 175749 by raj@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



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