/drivers/video/drm/i915/main.c |
---|
53,7 → 53,6 |
#define PCI_CLASS_REVISION 0x08 |
#define PCI_CLASS_DISPLAY_VGA 0x0300 |
#define PCI_CLASS_BRIDGE_HOST 0x0600 |
#define PCI_CLASS_BRIDGE_ISA 0x0601 |
int pci_scan_filter(u32_t id, u32_t busnr, u32_t devfn) |
{ |
70,8 → 69,7 |
class >>= 16; |
if( (class == PCI_CLASS_DISPLAY_VGA) || |
(class == PCI_CLASS_BRIDGE_HOST) || |
(class == PCI_CLASS_BRIDGE_ISA)) |
(class == PCI_CLASS_BRIDGE_HOST) ) |
ret = 1; |
} |
return ret; |