Changeset 2024 in vbox for trunk/src/VBox
- Timestamp:
- Apr 11, 2007 7:47:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r1795 r2024 3058 3058 break; 3059 3059 case ATA_SET_MULTIPLE_MODE: 3060 if ( s->uATARegNSector > ATA_MAX_MULT_SECTORS ||3061 s->uATARegNSector == 0 ||3062 (s->uATARegNSector & (s->uATARegNSector - 1)) != 0)3060 if ( s->uATARegNSector != 0 3061 && ( s->uATARegNSector > ATA_MAX_MULT_SECTORS 3062 || (s->uATARegNSector & (s->uATARegNSector - 1)) != 0)) 3063 3063 { 3064 3064 ataCmdError(s, ABRT_ERR);
Note:
See TracChangeset
for help on using the changeset viewer.