Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 14:08:57 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256899 - head/sys/dev/fdt
Message-ID:  <201310221408.r9ME8vZ1030726@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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