summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/pciex/pcie.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/pciex/pcie.c')
-rw-r--r--usr/src/uts/common/io/pciex/pcie.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/pciex/pcie.c b/usr/src/uts/common/io/pciex/pcie.c
index 22f191943c..35a0190be7 100644
--- a/usr/src/uts/common/io/pciex/pcie.c
+++ b/usr/src/uts/common/io/pciex/pcie.c
@@ -845,6 +845,13 @@ pcie_init_pfd(dev_info_t *dip)
PCIE_ZALLOC(pf_pcix_ecc_regs_t);
}
}
+
+ PCIE_SLOT_REG(pfd_p) = PCIE_ZALLOC(pf_pcie_slot_regs_t);
+ PCIE_SLOT_REG(pfd_p)->pcie_slot_regs_valid = B_FALSE;
+ PCIE_SLOT_REG(pfd_p)->pcie_slot_cap = 0;
+ PCIE_SLOT_REG(pfd_p)->pcie_slot_control = 0;
+ PCIE_SLOT_REG(pfd_p)->pcie_slot_status = 0;
+
} else if (PCIE_IS_PCIX(bus_p)) {
if (PCIE_IS_BDG(bus_p)) {
PCIX_BDG_ERR_REG(pfd_p) =