svn commit: r256899 - head/sys/dev/fdt

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue Oct 22 14:08:58 UTC 2013


Author: nwhitehorn
Date: Tue Oct 22 14:08:57 2013
New Revision: 256899
URL: http://svnweb.freebsd.org/changeset/base/256899

Log:
  Allow lots of interrupts (useful on multi-domain platforms) and do not
  set device_quiet() on all devices attached under nexus(4).

Modified:
  head/sys/dev/fdt/fdtbus.c

Modified: head/sys/dev/fdt/fdtbus.c
==============================================================================
--- head/sys/dev/fdt/fdtbus.c	Tue Oct 22 14:07:57 2013	(r256898)
+++ head/sys/dev/fdt/fdtbus.c	Tue Oct 22 14:08:57 2013	(r256899)
@@ -158,9 +158,7 @@ fdtbus_probe(device_t dev)
 
 	debugf("%s(dev=%p); pass=%u\n", __func__, dev, bus_current_pass);
 
-	device_set_desc(dev, "FDT main bus");
-	if (!bootverbose)
-		device_quiet(dev);
+	device_set_desc(dev, "Flattened Device Tree");
 	return (BUS_PROBE_NOWILDCARD);
 }
 
@@ -182,7 +180,7 @@ fdtbus_attach(device_t dev)
 	 * IRQ rman.
 	 */
 	start = 0;
-	end = FDT_INTR_MAX - 1;
+	end = ~0;
 	sc->sc_irq.rm_start = start;
 	sc->sc_irq.rm_end = end;
 	sc->sc_irq.rm_type = RMAN_ARRAY;


More information about the svn-src-head mailing list