VirtualBox

Changeset 34836 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Dec 8, 2010 2:18:29 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68649
Message:

PCI: fix Windows device manage question marks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r34749 r34836  
    23422342     *   A2        SLA9M    NH82801IB
    23432343     */
     2344    /* Host bridge device */
     2345    /* @todo: move to separate driver? */
    23442346    PCIDevSetVendorId(  &pBus->aPciDev, 0x8086); /* Intel */
    23452347    PCIDevSetDeviceId(  &pBus->aPciDev, 0x244e); /* Desktop */
    23462348    PCIDevSetRevisionId(&pBus->aPciDev,   0x92); /* rev. A2 */
    2347     PCIDevSetClassSub(  &pBus->aPciDev,   0x00); /* Host/PCI bridge */
    23482349    PCIDevSetClassBase( &pBus->aPciDev,   0x06); /* bridge */
    2349     PCIDevSetHeaderType(&pBus->aPciDev,   0x00); /* normal device */
    2350 
     2350    PCIDevSetClassSub(  &pBus->aPciDev,   0x04); /* Host/PCI bridge */
     2351    PCIDevSetClassProg( &pBus->aPciDev,   0x01); /* Supports subtractive decoding. */
     2352    PCIDevSetHeaderType(&pBus->aPciDev,   0x01); /* bridge */
     2353    PCIDevSetWord(&pBus->aPciDev,  VBOX_PCI_SEC_STATUS, 0x0280);  /* secondary status */
     2354    PCIDevSetDWord(&pBus->aPciDev, 0x4c, 0x00001200); /* Bridge policy configuration */
     2355    PCIDevSetStatus    (&pBus->aPciDev, VBOX_PCI_STATUS_CAP_LIST);
     2356    PCIDevSetCapabilityList(&pBus->aPciDev, 0x50);
     2357    /* capability */
     2358    PCIDevSetWord(&pBus->aPciDev,  0x50, VBOX_PCI_CAP_ID_SSVID);
     2359    PCIDevSetDWord(&pBus->aPciDev, 0x54, 0x00000000); /* Subsystem vendor ids */
     2360   
    23512361    pBus->aPciDev.pDevIns               = pDevIns;
    23522362    /* We register Host<->PCI controller on the bus */
Note: See TracChangeset for help on using the changeset viewer.

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