Changeset 33031 in vbox
- Timestamp:
- Oct 11, 2010 8:42:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r32975 r33031 397 397 # Enable this setting to force a fallback to default DMI data on configuration errors 398 398 VBOX_BIOS_DMI_FALLBACK = 399 # Enable MSI support in devices 400 # VBOX_WITH_MSI_DEVICES = 1 399 401 # Enable host network interface API. 400 402 if1of ($(KBUILD_TARGET), darwin freebsd linux solaris win) -
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r32933 r33031 1631 1631 1632 1632 //#define HDA_AS_PCI_EXPRESS 1633 //#define HDA_WITH_MSI1634 1633 1635 1634 /** … … 1669 1668 PCIDevSetDeviceId (&pThis->dev, 0x30f7); /* HP Pavilion dv4t-1300 */ 1670 1669 #else 1671 #if 1 1670 #if 1 1672 1671 PCIDevSetVendorId (&pThis->dev, 0x8086); /* 00 ro - intel. */ 1673 1672 PCIDevSetDeviceId (&pThis->dev, 0x2668); /* 02 ro - 82801 / 82801aa(?). */ … … 1695 1694 #if defined(HDA_AS_PCI_EXPRESS) 1696 1695 PCIDevSetCapabilityList (&pThis->dev, 0x80); 1697 #elif defined( HDA_WITH_MSI)1696 #elif defined(VBOX_WITH_MSI_DEVICES) 1698 1697 PCIDevSetCapabilityList (&pThis->dev, 0x60); 1699 1698 #else … … 1767 1766 return rc; 1768 1767 1769 #ifdef HDA_WITH_MSI1768 #ifdef VBOX_WITH_MSI_DEVICES 1770 1769 PDMMSIREG aMsiReg; 1771 1770 aMsiReg.cVectors = 1; … … 1774 1773 aMsiReg.iMsiFlags = 0; 1775 1774 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &aMsiReg); 1776 AssertRC(rc);1777 1775 if (RT_FAILURE (rc)) 1778 return rc; 1776 { 1777 LogRel(("Chipset cannot do MSI: %Rrc\n", rc)); 1778 PCIDevSetCapabilityList (&pThis->dev, 0x50); 1779 } 1779 1780 #endif 1780 1781 -
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r33013 r33031 70 70 * This was before the config was added and ahciIOTasks was dropped. */ 71 71 #define AHCI_SAVED_STATE_VERSION_VBOX_30 2 72 73 /* If AHCI shall emulate MSI support */74 #define AHCI_WITH_MSI75 72 76 73 /** … … 7853 7850 PCIDevSetDeviceId (&pThis->dev, 0x2829); /* ICH-8M */ 7854 7851 PCIDevSetCommand (&pThis->dev, 0x0000); 7855 #ifdef AHCI_WITH_MSI7852 #ifdef VBOX_WITH_MSI_DEVICES 7856 7853 PCIDevSetStatus (&pThis->dev, VBOX_PCI_STATUS_CAP_LIST); 7857 7854 PCIDevSetCapabilityList(&pThis->dev, 0x80); … … 7885 7882 return rc; 7886 7883 7887 #ifdef AHCI_WITH_MSI7884 #ifdef VBOX_WITH_MSI_DEVICES 7888 7885 PDMMSIREG aMsiReg; 7889 7886 aMsiReg.cVectors = 1; -
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r32983 r33031 48 48 /** Maximum number of entries in the release log. */ 49 49 #define MAX_REL_LOG_ERRORS 1024 50 51 /* If LSI shall emulate MSI support */52 #define LSILOGIC_WITH_MSI53 50 54 51 /** … … 5017 5014 PCIDevSetInterruptPin(&pThis->PciDev, 0x01); /* Interrupt pin A */ 5018 5015 5019 #ifdef LSILOGIC_WITH_MSI5016 #ifdef VBOX_WITH_MSI_DEVICES 5020 5017 PCIDevSetStatus(&pThis->PciDev, VBOX_PCI_STATUS_CAP_LIST); 5021 5018 PCIDevSetCapabilityList(&pThis->PciDev, 0x80); … … 5035 5032 return rc; 5036 5033 5037 #ifdef LSILOGIC_WITH_MSI5034 #ifdef VBOX_WITH_MSI_DEVICES 5038 5035 PDMMSIREG aMsiReg; 5039 5036 aMsiReg.cVectors = 1; … … 5046 5043 LogRel(("Chipset cannot do MSI: %Rrc\n", rc)); 5047 5044 /* That's OK, we can work without MSI */ 5045 PCIDevSetCapabilityList(&pThis->PciDev, 0x0); 5048 5046 } 5049 5047 #endif
Note:
See TracChangeset
for help on using the changeset viewer.