VirtualBox

Changeset 58946 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
Dec 2, 2015 9:32:03 AM (9 years ago)
Author:
vboxsync
Message:

BIOS: Operator precedence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/scsi.c

    r58819 r58946  
    107107    while (status & VBSCSI_BUSY);
    108108
    109     sizes = ((length >> 12) & 0xF0) | (cbCDB == 16) ? 0 : cbCDB;
     109    sizes = ((length >> 12) & 0xF0) | ((cbCDB == 16) ? 0 : cbCDB);
    110110    outb(io_base + VBSCSI_REGISTER_COMMAND, target_id);                 /* Write the target ID. */
    111111    outb(io_base + VBSCSI_REGISTER_COMMAND, SCSI_TXDIR_FROM_DEVICE);    /* Write the transfer direction. */
     
    158158
    159159
    160     sizes = ((length >> 12) & 0xF0) | (cbCDB == 16) ? 0 : cbCDB;
     160    sizes = ((length >> 12) & 0xF0) | ((cbCDB == 16) ? 0 : cbCDB);
    161161    outb(io_base + VBSCSI_REGISTER_COMMAND, target_id);                 /* Write the target ID. */
    162162    outb(io_base + VBSCSI_REGISTER_COMMAND, SCSI_TXDIR_TO_DEVICE);      /* Write the transfer direction. */
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