--Signed-off-by: James John <[email protected]>
---
src/common_bridge.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/common_bridge.c b/src/common_bridge.c
index b4b5d7e..1af030c 100644
--- a/src/common_bridge.c
+++ b/src/common_bridge.c
@@ -216,7 +216,8 @@ pci_device_get_bridge_info( struct pci_device * dev )
read_bridge_info(priv);
}
- return (priv->header_type == 1) ? priv->bridge.pci : NULL;
+ /* Check only lower two bits for bridge device type, MF device */
+ return ((priv->header_type & 0x3) == 1) ? priv->bridge.pci : NULL;
}
--
1.8.3.1
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel