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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to