VirtualBox

Changeset 25934 in vbox


Ignore:
Timestamp:
Jan 20, 2010 2:29:07 PM (15 years ago)
Author:
vboxsync
Message:

BusLogic: Fix assertions with 2.4 kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevBusLogic.cpp

    r25446 r25934  
    10891089
    10901090        }
    1091         else if (pTaskState->CommandControlBlockGuest.uDataDirection == BUSLOGIC_CCB_DIRECTION_OUT)
     1091        else if (pTaskState->CommandControlBlockGuest.uOpcode == BUSLOGIC_CCB_OPCODE_INITIATOR_CCB)
    10921092        {
    10931093            /* The buffer is not scattered. */
     
    11701170
    11711171        }
    1172         else
     1172        else if (pTaskState->CommandControlBlockGuest.uOpcode == BUSLOGIC_CCB_OPCODE_INITIATOR_CCB)
    11731173        {
    11741174            /* The buffer is not scattered. */
     
    15031503        }
    15041504        default:
    1505             AssertMsgFailed(("Register not available\n"));
    1506             rc = VERR_IOM_IOPORT_UNUSED;
     1505            *pu32 = UINT32_C(0xffffffff);
    15071506    }
    15081507
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