summaryrefslogtreecommitdiff
path: root/usr/src/uts/common
diff options
context:
space:
mode:
authorPavel Potoplyak <Pavel.Potoplyak@Sun.COM>2009-11-11 18:31:40 +0100
committerPavel Potoplyak <Pavel.Potoplyak@Sun.COM>2009-11-11 18:31:40 +0100
commita2de976fd11ced5331ebe7c3a8ffbaf11f5427cf (patch)
tree77494c996bfc68078c3f2172358e3ad6b6d98fdf /usr/src/uts/common
parent38b58fe3ef2f055821cf2e96d60de0b76624522e (diff)
downloadillumos-joyent-a2de976fd11ced5331ebe7c3a8ffbaf11f5427cf.tar.gz
6880856 Need workaround for Intel 5500/5520 Error Source Id errata
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r--usr/src/uts/common/io/pciex/pcie_fault.c5
-rw-r--r--usr/src/uts/common/sys/pcie_impl.h1
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;