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
This commit is contained in:
parent
5d80127809
commit
723fbad583
@ -79,7 +79,7 @@ get_next_intel_extreme(int32 *_cookie, pci_info &info, uint32 &type)
|
|||||||
// check vendor
|
// check vendor
|
||||||
if (info.vendor_id != VENDOR_ID_INTEL
|
if (info.vendor_id != VENDOR_ID_INTEL
|
||||||
|| info.class_base != PCI_display
|
|| info.class_base != PCI_display
|
||||||
|| info.class_sub != 0)
|
|| info.class_sub != PCI_vga)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// check device
|
// check device
|
||||||
|
Loading…
Reference in New Issue
Block a user