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

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Feb 2 05:52:35 UTC 2014


Author: nwhitehorn
Date: Sun Feb  2 05:52:34 2014
New Revision: 261398
URL: http://svnweb.freebsd.org/changeset/base/261398

Log:
  Fix missing offset.

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

Modified: head/sys/dev/fdt/fdt_common.c
==============================================================================
--- head/sys/dev/fdt/fdt_common.c	Sun Feb  2 05:41:12 2014	(r261397)
+++ head/sys/dev/fdt/fdt_common.c	Sun Feb  2 05:52:34 2014	(r261398)
@@ -501,7 +501,8 @@ fdt_intr_to_rl(device_t dev, phandle_t n
 			icells = 1;
 		}
 		for (i = 0, k = 0; i < nintr; i += icells, k++) {
-			intr[i] = ofw_bus_map_intr(dev, iparent, icells, intr);
+			intr[i] = ofw_bus_map_intr(dev, iparent, icells,
+			    &intr[i]);
 			resource_list_add(rl, SYS_RES_IRQ, k, intr[i], intr[i],
 			    1);
 		}


More information about the svn-src-all mailing list