Changeset 78558 in vbox for trunk/src/VBox
- Timestamp:
- May 17, 2019 9:05:35 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130611
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r78478 r78558 3403 3403 *(uint16_t *)&pThis->aPROM[12] = RT_H2LE_U16(checksum); 3404 3404 3405 /* Many of the BCR values would normally be read from the EEPROM. */ 3405 3406 pThis->aBCR[BCR_MSRDA] = 0x0005; 3406 3407 pThis->aBCR[BCR_MSWRA] = 0x0005; … … 3419 3420 pThis->iLog2DescSize = 3; 3420 3421 pThis->aBCR[BCR_PLAT ] = 0xff06; 3422 pThis->aBCR[BCR_MIICAS ] = 0x20; /* Auto-negotiation on. */ 3421 3423 pThis->aBCR[BCR_MIIADDR ] = 0; /* Internal PHY on Am79C973 would be (0x1e << 5) */ 3422 3424 pThis->aBCR[BCR_PCIVID] = PCIDevGetVendorId(&pThis->PciDev); … … 4231 4233 pThis->aCSR[122], !!(pThis->aCSR[122] & RT_BIT(3))); 4232 4234 4235 if (pThis->uDevType == DEV_AM79C973) 4236 { 4237 /* Print a bit of the MII state. */ 4238 pHlp->pfnPrintf(pHlp, 4239 "BCR32=%#06x: MIIILP=%d XPHYSP=%d XPHYFD=%d XPHYANE=%d XPHYRST=%d\n" 4240 " DANAS=%d APDW=%u APEP=%d FMDC=%u MIIPD=%d ANTST=%d\n", 4241 pThis->aBCR[32], 4242 !!(pThis->aBCR[32] & RT_BIT( 1)), !!(pThis->aBCR[32] & RT_BIT( 3)), !!(pThis->aBCR[32] & RT_BIT( 4)), 4243 !!(pThis->aBCR[32] & RT_BIT( 5)), !!(pThis->aBCR[32] & RT_BIT( 6)), !!(pThis->aBCR[32] & RT_BIT( 7)), 4244 (pThis->aBCR[32] >> 8) & 0x7, 4245 !!(pThis->aBCR[32] & RT_BIT(11)), 4246 (pThis->aBCR[32] >> 12) & 0x3, 4247 !!(pThis->aBCR[32] & RT_BIT(14)), !!(pThis->aBCR[32] & RT_BIT(15))); 4248 } 4233 4249 4234 4250 /*
Note:
See TracChangeset
for help on using the changeset viewer.