Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 546228
Collapse All | Expand All

(-)a/drivers/gpu/vga/vgaarb.c (-1 / +3 lines)
Lines 507-515 static bool vga_arbiter_add_pci_device(struct pci_dev *pdev) Link Here
507
       struct pci_bus *bus;
507
       struct pci_bus *bus;
508
       struct pci_dev *bridge;
508
       struct pci_dev *bridge;
509
       u16 cmd;
509
       u16 cmd;
510
       int pci_class = pdev->class >> 8;
510
511
511
       /* Only deal with VGA class devices */
512
       /* Only deal with VGA class devices */
512
       if ((pdev->class >> 8) != PCI_CLASS_DISPLAY_VGA)
513
       if (pci_class != PCI_CLASS_DISPLAY_VGA &&
514
               pci_class != PCI_CLASS_DISPLAY_3D)
513
               return false;
515
               return false;
514
516
515
       /* Allocate structure */
517
       /* Allocate structure */

Return to bug 546228