diff options
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r-- | usr/src/uts/common/io/pciex/pcie_fault.c | 5 | ||||
-rw-r--r-- | usr/src/uts/common/sys/pcie_impl.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/pciex/pcie_fault.c b/usr/src/uts/common/io/pciex/pcie_fault.c index ae540274c3..df4118b323 100644 --- a/usr/src/uts/common/io/pciex/pcie_fault.c +++ b/usr/src/uts/common/io/pciex/pcie_fault.c @@ -268,6 +268,11 @@ done: return (analyse_flag); } +void +pcie_force_fullscan() { + pcie_full_scan = B_TRUE; +} + /* * pf_dispatch walks the device tree and calls the pf_default_hdl if the device * falls in the error path. diff --git a/usr/src/uts/common/sys/pcie_impl.h b/usr/src/uts/common/sys/pcie_impl.h index 0943da2c92..378e9b94d3 100644 --- a/usr/src/uts/common/sys/pcie_impl.h +++ b/usr/src/uts/common/sys/pcie_impl.h @@ -505,6 +505,7 @@ extern void pf_fini(dev_info_t *, ddi_detach_cmd_t); extern int pf_hdl_lookup(dev_info_t *, uint64_t, uint32_t, uint64_t, pcie_req_id_t); extern int pf_tlp_decode(pcie_bus_t *, pf_pcie_adv_err_regs_t *); +extern void pcie_force_fullscan(); #ifdef DEBUG extern uint_t pcie_debug_flags; |