Detects chipset and initialize PAM support tables @retval EFI_SUCCESS Successfully initialized **/
| 607 | |
| 608 | **/ |
| 609 | EFI_STATUS |
| 610 | DetectChipset ( |
| 611 | VOID |
| 612 | ) |
| 613 | { |
| 614 | UINT16 VID = 0; |
| 615 | UINT16 DID = 0; |
| 616 | |
| 617 | mRegisterValues = NULL; |
| 618 | |
| 619 | mVendorDeviceId = PciRead32 (PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, 0)); |
| 620 | DBG(" Chipset/proc: 0x%08X\n", mVendorDeviceId); |
| 621 | |
| 622 | switch (mVendorDeviceId) { |
| 623 | |
| 624 | // |
| 625 | // Intel 830 and similar |
| 626 | // Copied from 915 resolution created by steve tomljenovic, |
| 627 | // Resolution module by Evan Lojewski |
| 628 | // |
| 629 | case 0x35758086: // 830 |
| 630 | case 0x35808086: // 855GM |
| 631 | DBG(" Intel 830 and similar (PAM 0x59-0x5f)\n"); |
| 632 | mRegisterValues = mRegisterValues830; |
| 633 | break; |
| 634 | |
| 635 | case 0x25C08086: // 5000 |
| 636 | case 0x25D48086: // 5000V |
| 637 | case 0x65C08086: // 5100 |
| 638 | DBG(" Intel 5000 and similar (PAM 0x59-0x5f)\n"); |
| 639 | mRegisterValues = mRegisterValues830; |
| 640 | mPamPciDev = 16; |
| 641 | break; |
| 642 | |
| 643 | // |
| 644 | // Intel Series 4 and similar |
| 645 | // Copied from 915 resolution created by steve tomljenovic, |
| 646 | // Resolution module by Evan Lojewski |
| 647 | // |
| 648 | case 0x25608086: // 845G |
| 649 | case 0x25708086: // 865G |
| 650 | case 0x25808086: // 915G |
| 651 | case 0x25908086: // 915GM |
| 652 | |
| 653 | case 0x27708086: // 945G |
| 654 | case 0x27748086: // 955X |
| 655 | case 0x277c8086: // 975X |
| 656 | case 0x27a08086: // 945GM - Dell D430 Offset 090: 10 11 11 00 00 |
| 657 | case 0x27ac8086: // 945GME |
| 658 | case 0x29208086: // G45 |
| 659 | case 0x29708086: // 946GZ |
| 660 | case 0x29808086: // G965 |
| 661 | case 0x29908086: // Q965 |
| 662 | case 0x29a08086: // P965 |
| 663 | case 0x29b08086: // R845 |
| 664 | case 0x29c08086: // G31/P35 |
| 665 | case 0x29d08086: // Q33 |
| 666 | case 0x29e08086: // X38/X48 |
no test coverage detected