VirtualBox

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


Ignore:
Timestamp:
Aug 31, 2020 12:39:00 PM (4 years ago)
Author:
vboxsync
Message:

PCnet: Print MMIO base for PCI models, IRQ for ISA models.

File:
1 edited

Legend:

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

    r85158 r85955  
    41284128    }
    41294129    pHlp->pfnPrintf(pHlp,
    4130                     "pcnet #%d: port=%RTiop mmio=%RX32 mac-cfg=%RTmac %s%s%s\n", pDevIns->iInstance,
    4131                     pThis->IOPortBase, PDMDevHlpMmioGetMappingAddress(pDevIns, pThis->hMmioPci),
     4130                    "pcnet #%d: port=%RTiop", pDevIns->iInstance, pThis->IOPortBase);
     4131    if (PCNET_IS_ISA(pThis))
     4132        pHlp->pfnPrintf(pHlp, " irq=%RX32", pThis->uIsaIrq);
     4133    else
     4134        pHlp->pfnPrintf(pHlp, " mmio=%RX32", PDMDevHlpMmioGetMappingAddress(pDevIns, pThis->hMmioPci));
     4135
     4136    pHlp->pfnPrintf(pHlp,
     4137                    " mac-cfg=%RTmac %s%s%s\n",
    41324138                    &pThis->MacConfigured, pcszModel, pDevIns->fRCEnabled ? " RC" : "", pDevIns->fR0Enabled ? " R0" : "");
     4139
    41334140
    41344141    PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_INTERNAL_ERROR); /* Take it here so we know why we're hanging... */
     
    42364243    if (pThis->uDevType == DEV_AM79C970A || pThis->uDevType == DEV_AM79C973)
    42374244    {
    4238         /* Print the Burst and Bus Control Register;  the DWIO bit is quite important. */
     4245        /* Print the Burst and Bus Control Register; the DWIO bit is quite important. */
    42394246        pHlp->pfnPrintf(pHlp,
    42404247                        "BCR18=%#04x: ROMTMG=%u MEMCMD=%u EXTREQ=%u\n"
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