From 723fbad5838ed987df59df99289a596f21a204b2 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sat, 2 Jan 2010 10:33:44 +0000 Subject: [PATCH] Substituted 'magic' subclass value (0x0) with it's definition PCI_vga for readability. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34858 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/graphics/intel_extreme/driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/drivers/graphics/intel_extreme/driver.cpp b/src/add-ons/kernel/drivers/graphics/intel_extreme/driver.cpp index 23ad13f4f8..eb8e60f8f4 100644 --- a/src/add-ons/kernel/drivers/graphics/intel_extreme/driver.cpp +++ b/src/add-ons/kernel/drivers/graphics/intel_extreme/driver.cpp @@ -79,7 +79,7 @@ get_next_intel_extreme(int32 *_cookie, pci_info &info, uint32 &type) // check vendor if (info.vendor_id != VENDOR_ID_INTEL || info.class_base != PCI_display - || info.class_sub != 0) + || info.class_sub != PCI_vga) continue; // check device