summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/io/mach_rootnex.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4u/io/mach_rootnex.c')
-rw-r--r--usr/src/uts/sun4u/io/mach_rootnex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sun4u/io/mach_rootnex.c b/usr/src/uts/sun4u/io/mach_rootnex.c
index b2a7ca8f1d..1e3155bba9 100644
--- a/usr/src/uts/sun4u/io/mach_rootnex.c
+++ b/usr/src/uts/sun4u/io/mach_rootnex.c
@@ -105,7 +105,7 @@ rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip,
* Hack to support the UPA slave devices before the 1275
* support for imap was introduced.
*/
- if (ddi_getproplen(DDI_DEV_T_ANY, dip, NULL, "interrupt-map",
+ if (ddi_getproplen(DDI_DEV_T_ANY, dip, 0, "interrupt-map",
&len) != DDI_PROP_SUCCESS && ddi_getprop(DDI_DEV_T_ANY,
rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0 &&
ddi_get_parent(rdip) == dip) {
@@ -176,7 +176,7 @@ rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip,
* Hack to support the UPA slave devices before the 1275
* support for imap was introduced.
*/
- if (ddi_getproplen(DDI_DEV_T_ANY, dip, NULL, "interrupt-map",
+ if (ddi_getproplen(DDI_DEV_T_ANY, dip, 0, "interrupt-map",
&len) != DDI_PROP_SUCCESS && ddi_getprop(DDI_DEV_T_ANY,
rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0) {
int32_t r_upaid = -1;