VirtualBox

Changeset 76843 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 16, 2019 6:13:57 PM (6 years ago)
Author:
vboxsync
Message:

PCnet: Really ignore writes to certain registers when STOP or SPND not set. Ignore high 8 bits of 32-bit initialization address base on ISA chips.

File:
1 edited

Legend:

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

    r76794 r76843  
    29292929                return rc;
    29302930            }
     2931        case 2:  /* IADRH */
     2932            if (PCNET_IS_ISA(pThis))
     2933                val &= 0x00ff;  /* Upper 8 bits ignored on ISA chips. */
     2934            RT_FALL_THRU();
    29312935        case 1:  /* IADRL */
    2932         case 2:  /* IADRH */
    29332936        case 8:  /* LADRF  0..15 */
    29342937        case 9:  /* LADRF 16..31 */
     
    29692972            if (CSR_STOP(pThis) || CSR_SPND(pThis))
    29702973                break;
     2974            else
     2975            {
     2976                Log(("#%d: WRITE CSR%d, %#06x, ignoring!!\n", PCNET_INST_NR, u32RAP, val));
     2977                return rc;
     2978            }
    29712979        case 3: /* Interrupt Mask and Deferral Control */
    29722980            break;
     
    30163024            if (!CSR_STOP(pThis) && !CSR_SPND(pThis))
    30173025            {
    3018                 Log(("#%d: WRITE CSR%d, %#06x !!\n", PCNET_INST_NR, u32RAP, val));
     3026                Log(("#%d: WRITE CSR%d, %#06x, ignoring!!\n", PCNET_INST_NR, u32RAP, val));
    30193027                return rc;
    30203028            }
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