Also check the device class and subclass IDs - this prevents the driver to recognize

an USB controller with the same ID pair as the graphics controller (Intel seems to
be running out of device IDs :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17543 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-22 19:16:33 +00:00
parent 4e65a2073d
commit aad602196a
@@ -59,7 +59,9 @@ get_next_intel_extreme(int32 *_cookie, pci_info &info, uint32 &type)
for (; gPCI->get_nth_pci_info(index, &info) == B_OK; index++) {
// check vendor
if (info.vendor_id != VENDOR_ID_INTEL)
if (info.vendor_id != VENDOR_ID_INTEL
|| info.class_base != PCI_display
|| info.class_sub != 0)
continue;
// check device