aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/quirks.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 5129ed6d8fa7..4b2bbe813fce 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2784,6 +2784,16 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x342e, vtd_mask_spec_errors);
2784DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x3c28, vtd_mask_spec_errors); 2784DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x3c28, vtd_mask_spec_errors);
2785#endif 2785#endif
2786 2786
2787static void __devinit fixup_ti816x_class(struct pci_dev* dev)
2788{
2789 /* TI 816x devices do not have class code set when in PCIe boot mode */
2790 if (dev->class == PCI_CLASS_NOT_DEFINED) {
2791 dev_info(&dev->dev, "Setting PCI class for 816x PCIe device\n");
2792 dev->class = PCI_CLASS_MULTIMEDIA_VIDEO;
2793 }
2794}
2795DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_TI, 0xb800, fixup_ti816x_class);
2796
2787static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, 2797static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f,
2788 struct pci_fixup *end) 2798 struct pci_fixup *end)
2789{ 2799{