Date: Thu, 24 Oct 2013 14:15:05 +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: r257055 - head/sys/dev/ofw Message-ID: <201310241415.r9OEF5dh096760@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310241415.r9OEF5dh096760>