VirtualBox

Ignore:
Timestamp:
Sep 23, 2010 2:23:05 PM (14 years ago)
Author:
vboxsync
Message:

Audio: PCI symbolic constants, cap list bug in HDA

File:
1 edited

Legend:

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

    r32431 r32726  
    16611661    PCIDevSetDeviceId           (&pThis->dev, 0x2668); /* 02 ro - 82801 / 82801aa(?). */
    16621662    PCIDevSetCommand            (&pThis->dev, 0x0000); /* 04 rw,ro - pcicmd. */
    1663     PCIDevSetStatus             (&pThis->dev, 0x0010); /* 06 rwc?,ro? - pcists. */
     1663    PCIDevSetStatus             (&pThis->dev, VBOX_PCI_STATUS_CAP_LIST); /* 06 rwc?,ro? - pcists. */
    16641664    PCIDevSetRevisionId         (&pThis->dev, 0x01);   /* 08 ro - rid. */
    16651665    PCIDevSetClassProg          (&pThis->dev, 0x00);   /* 09 ro - pi. */
     
    16821682    pThis->dev.config[0x40] = 0x01;
    16831683
    1684     pThis->dev.config[0x50] = 0x01;
    1685     pThis->dev.config[0x51] = 0x60; /* next */
    1686     pThis->dev.config[0x52] = 0x22;
     1684    pThis->dev.config[0x50] = VBOX_PCI_CAP_ID_PM;
     1685    pThis->dev.config[0x51] = 0x00; /* next */
     1686    pThis->dev.config[0x52] = VBOX_PCI_PM_CAP_DSI | 0x02;
    16871687    pThis->dev.config[0x53] = 0x00; /* PM - disabled,  */
    16881688
    16891689#if 0
    1690     pThis->dev.config[0x60] = 0x05;
     1690    pThis->dev.config[0x60] = VBOX_PCI_CAP_ID_MSI;
    16911691    pThis->dev.config[0x61] = 0x70; /* next */
    16921692    pThis->dev.config[0x62] = 0x00;
    1693     pThis->dev.config[0x63] = 0x80;
     1693    pThis->dev.config[0x63] = VBOX_PCI_MSIX_FLAGS_ENABLE >> 8;
    16941694#endif
    16951695
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