svn commit: r257055 - head/sys/dev/ofw
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Oct 24 14:15:06 UTC 2013
Author: nwhitehorn
Date: Thu Oct 24 14:15:05 2013
New Revision: 257055
URL: http://svnweb.freebsd.org/changeset/base/257055
Log:
interrupt-parent and #interrupt-cells are written to the tree using
encode-int.
Modified:
head/sys/dev/ofw/ofw_nexus.c
Modified: head/sys/dev/ofw/ofw_nexus.c
==============================================================================
--- head/sys/dev/ofw/ofw_nexus.c Thu Oct 24 14:05:44 2013 (r257054)
+++ head/sys/dev/ofw/ofw_nexus.c Thu Oct 24 14:15:05 2013 (r257055)
@@ -471,9 +471,9 @@ nexus_setup_dinfo(device_t dev, phandle_
(void **)&intr);
if (nintr > 0) {
iparent = 0;
- OF_searchprop(node, "interrupt-parent", &iparent,
+ OF_searchencprop(node, "interrupt-parent", &iparent,
sizeof(iparent));
- OF_searchprop(iparent, "#interrupt-cells", &icells,
+ OF_searchencprop(iparent, "#interrupt-cells", &icells,
sizeof(icells));
for (i = 0; i < nintr; i+= icells) {
intr[i] = ofw_bus_map_intr(dev, iparent, intr[i]);
More information about the svn-src-all
mailing list