We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e69a33 commit 6cd514eCopy full SHA for 6cd514e
drivers/pci/probe.c
@@ -1890,6 +1890,9 @@ int pci_setup_device(struct pci_dev *dev)
1890
1891
dev->broken_intx_masking = pci_intx_mask_broken(dev);
1892
1893
+ /* Clear errors left from system firmware */
1894
+ pci_write_config_word(dev, PCI_STATUS, 0xffff);
1895
+
1896
switch (dev->hdr_type) { /* header type */
1897
case PCI_HEADER_TYPE_NORMAL: /* standard header */
1898
if (class == PCI_CLASS_BRIDGE_PCI)
0 commit comments