diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-25 15:37:58 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-25 15:37:58 +0000 |
| commit | 6ad36cf2c8f7f942223028dd3792828056f360f2 (patch) | |
| tree | 8635376ba62eb7440a032c99c8d461009d614863 /sys | |
| parent | 178cdf9a399f94489063fb5f4047e85078ba1314 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/ofw/ofw_nexus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofw_nexus.c b/sys/dev/ofw/ofw_nexus.c index e531311fb899..f602bfec874e 100644 --- a/sys/dev/ofw/ofw_nexus.c +++ b/sys/dev/ofw/ofw_nexus.c @@ -464,8 +464,8 @@ nexus_setup_dinfo(device_t dev, phandle_t node) iparent = 0; OF_searchencprop(node, "interrupt-parent", &iparent, sizeof(iparent)); - OF_searchencprop(iparent, "#interrupt-cells", &icells, - sizeof(icells)); + OF_searchencprop(OF_xref_phandle(iparent), "#interrupt-cells", + &icells, sizeof(icells)); for (i = 0; i < nintr; i+= icells) { intr[i] = ofw_bus_map_intr(dev, iparent, intr[i]); resource_list_add(&ndi->ndi_rl, SYS_RES_IRQ, i, intr[i], |
