summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4/io/px/px_pci.c
diff options
context:
space:
mode:
authorcth <none@none>2005-09-08 15:58:16 -0700
committercth <none@none>2005-09-08 15:58:16 -0700
commita3282898e99eb4fd1912bf791254452bfd913d4b (patch)
treed6d270f787de345c075400b8d7ad25291eea7181 /usr/src/uts/sun4/io/px/px_pci.c
parent1ac69ea687cc5094a956b1eb0a67df515029be6f (diff)
downloadillumos-gate-a3282898e99eb4fd1912bf791254452bfd913d4b.tar.gz
6305388 ddi_getlongprop(9F) callers should use DDI_DEV_T_ANY instead of DDI_DEV_T_NONE
Diffstat (limited to 'usr/src/uts/sun4/io/px/px_pci.c')
-rw-r--r--usr/src/uts/sun4/io/px/px_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sun4/io/px/px_pci.c b/usr/src/uts/sun4/io/px/px_pci.c
index b04e57c484..c394326802 100644
--- a/usr/src/uts/sun4/io/px/px_pci.c
+++ b/usr/src/uts/sun4/io/px/px_pci.c
@@ -586,7 +586,7 @@ pxb_ctlops(dev_info_t *dip, dev_info_t *rdip,
}
*(int *)result = 0;
- if (ddi_getlongprop(DDI_DEV_T_NONE, rdip,
+ if (ddi_getlongprop(DDI_DEV_T_ANY, rdip,
DDI_PROP_DONTPASS | DDI_PROP_CANSLEEP, "reg",
(caddr_t)&drv_regp, &reglen) != DDI_SUCCESS)
return (DDI_FAILURE);
@@ -650,7 +650,7 @@ pxb_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op,
* Use the devices reg property to determine its
* PCI bus number and device number.
*/
- if (ddi_getlongprop(DDI_DEV_T_NONE, cdip, DDI_PROP_DONTPASS,
+ if (ddi_getlongprop(DDI_DEV_T_ANY, cdip, DDI_PROP_DONTPASS,
"reg", (caddr_t)&pci_rp, &reglen) != DDI_SUCCESS)
return (DDI_FAILURE);