summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/intel/bd82x6x/pch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/intel/bd82x6x/pch.c b/src/southbridge/intel/bd82x6x/pch.c
index c668f9a6b9..a7ab83a24b 100644
--- a/src/southbridge/intel/bd82x6x/pch.c
+++ b/src/southbridge/intel/bd82x6x/pch.c
@@ -131,6 +131,10 @@ void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue)
/* Set bit in function disable register to hide this device */
static void pch_hide_devfn(unsigned int devfn)
{
+ struct device *dev = pcidev_path_on_root(devfn);
+ if (dev)
+ dev->hidden = true;
+
switch (devfn) {
case PCI_DEVFN(20, 0): /* xHCI */
if (pch_silicon_type() == PCH_TYPE_PPT) {