VirtualBox

Changeset 32735 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 23, 2010 3:59:25 PM (14 years ago)
Author:
vboxsync
Message:

HDA: temporary disabled code to fake PCIe device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp

    r32726 r32735  
    16921692    pThis->dev.config[0x62] = 0x00;
    16931693    pThis->dev.config[0x63] = VBOX_PCI_MSIX_FLAGS_ENABLE >> 8;
     1694#endif
     1695
     1696#if 0
     1697    pThis->dev.config[0x90] = VBOX_PCI_CAP_ID_EXP; /* PCI_Express */
     1698    pThis->dev.config[0x90+1] = 0x50; /* next */
     1699    /* Device flags */
     1700    PCIDevSetWord  (&pThis->dev, 0x90 + 2, /* version */ 0x1);
     1701    /* Device capabilities */
     1702    PCIDevSetDWord (&pThis->dev, 0x90 + 4, 0);
     1703    /* Device control */
     1704    PCIDevSetWord  (&pThis->dev, 0x90 + 8, 0);
     1705    /* Device status */
     1706    PCIDevSetWord  (&pThis->dev, 0x90 + 10, 0);
     1707    /* Link caps */
     1708    PCIDevSetDWord (&pThis->dev, 0x90 + 12, 0);
     1709    /* Link control */
     1710    PCIDevSetWord  (&pThis->dev, 0x90 + 16, 0);
     1711    /* Link status */
     1712    PCIDevSetWord  (&pThis->dev, 0x90 + 18, 0);
     1713    /* Slot capabilities */
     1714    PCIDevSetDWord (&pThis->dev, 0x90 + 20, 0);
     1715    /* Slot control */
     1716    PCIDevSetWord  (&pThis->dev, 0x90 + 24, 0);
     1717    /* Slot status */
     1718    PCIDevSetWord  (&pThis->dev, 0x90 + 26, 0);
     1719    /* Root control */
     1720    PCIDevSetWord  (&pThis->dev, 0x90 + 28, 0);
     1721    /* Root capabilities */
     1722    PCIDevSetWord  (&pThis->dev, 0x90 + 30, 0);
     1723    /* Root status */
     1724    PCIDevSetDWord (&pThis->dev, 0x90 + 32, 0);
     1725    /* Device capabilities 2 */
     1726    PCIDevSetDWord (&pThis->dev, 0x90 + 36, 0);
     1727    /* Device control 2 */
     1728    PCIDevSetQWord (&pThis->dev, 0x90 + 40, 0);
     1729    /* Link control 2 */
     1730    PCIDevSetQWord (&pThis->dev, 0x90 + 48, 0);
     1731    /* Slot control 2 */
     1732    PCIDevSetWord  (&pThis->dev, 0x90 + 56, 0);
    16941733#endif
    16951734
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette