VirtualBox

Ignore:
Timestamp:
Oct 24, 2016 2:42:05 PM (8 years ago)
Author:
vboxsync
Message:

PDMPCIDEV: s/config/abConfig/ everywhere, removing the legacy alias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r64387 r64393  
    49544954    PCIDevSetVendorId(&pThis->PciDev, 0x1022);
    49554955    PCIDevSetDeviceId(&pThis->PciDev, 0x2000);
    4956     pThis->PciDev.config[0x04] = 0x07; /* command */
    4957     pThis->PciDev.config[0x05] = 0x00;
    4958     pThis->PciDev.config[0x06] = 0x80; /* status */
    4959     pThis->PciDev.config[0x07] = 0x02;
    4960     pThis->PciDev.config[0x08] = pThis->fAm79C973 ? 0x40 : 0x10; /* revision */
    4961     pThis->PciDev.config[0x09] = 0x00;
    4962     pThis->PciDev.config[0x0a] = 0x00; /* ethernet network controller */
    4963     pThis->PciDev.config[0x0b] = 0x02;
    4964     pThis->PciDev.config[0x0e] = 0x00; /* header_type */
    4965 
    4966     pThis->PciDev.config[0x10] = 0x01; /* IO Base */
    4967     pThis->PciDev.config[0x11] = 0x00;
    4968     pThis->PciDev.config[0x12] = 0x00;
    4969     pThis->PciDev.config[0x13] = 0x00;
    4970     pThis->PciDev.config[0x14] = 0x00; /* MMIO Base */
    4971     pThis->PciDev.config[0x15] = 0x00;
    4972     pThis->PciDev.config[0x16] = 0x00;
    4973     pThis->PciDev.config[0x17] = 0x00;
     4956    pThis->PciDev.abConfig[0x04] = 0x07; /* command */
     4957    pThis->PciDev.abConfig[0x05] = 0x00;
     4958    pThis->PciDev.abConfig[0x06] = 0x80; /* status */
     4959    pThis->PciDev.abConfig[0x07] = 0x02;
     4960    pThis->PciDev.abConfig[0x08] = pThis->fAm79C973 ? 0x40 : 0x10; /* revision */
     4961    pThis->PciDev.abConfig[0x09] = 0x00;
     4962    pThis->PciDev.abConfig[0x0a] = 0x00; /* ethernet network controller */
     4963    pThis->PciDev.abConfig[0x0b] = 0x02;
     4964    pThis->PciDev.abConfig[0x0e] = 0x00; /* header_type */
     4965
     4966    pThis->PciDev.abConfig[0x10] = 0x01; /* IO Base */
     4967    pThis->PciDev.abConfig[0x11] = 0x00;
     4968    pThis->PciDev.abConfig[0x12] = 0x00;
     4969    pThis->PciDev.abConfig[0x13] = 0x00;
     4970    pThis->PciDev.abConfig[0x14] = 0x00; /* MMIO Base */
     4971    pThis->PciDev.abConfig[0x15] = 0x00;
     4972    pThis->PciDev.abConfig[0x16] = 0x00;
     4973    pThis->PciDev.abConfig[0x17] = 0x00;
    49744974
    49754975    /* subsystem and subvendor IDs */
    4976     pThis->PciDev.config[0x2c] = 0x22; /* subsystem vendor id */
    4977     pThis->PciDev.config[0x2d] = 0x10;
    4978     pThis->PciDev.config[0x2e] = 0x00; /* subsystem id */
    4979     pThis->PciDev.config[0x2f] = 0x20;
    4980     pThis->PciDev.config[0x3d] = 1;    /* interrupt pin 0 */
    4981     pThis->PciDev.config[0x3e] = 0x06;
    4982     pThis->PciDev.config[0x3f] = 0xff;
     4976    pThis->PciDev.abConfig[0x2c] = 0x22; /* subsystem vendor id */
     4977    pThis->PciDev.abConfig[0x2d] = 0x10;
     4978    pThis->PciDev.abConfig[0x2e] = 0x00; /* subsystem id */
     4979    pThis->PciDev.abConfig[0x2f] = 0x20;
     4980    pThis->PciDev.abConfig[0x3d] = 1;    /* interrupt pin 0 */
     4981    pThis->PciDev.abConfig[0x3e] = 0x06;
     4982    pThis->PciDev.abConfig[0x3f] = 0xff;
    49834983
    49844984    /*
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