Changeset 47787 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Aug 16, 2013 9:00:01 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88048
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r47785 r47787 1934 1934 PSTAMPROFILEADV pProf = NULL; 1935 1935 1936 cbTransfer = RT_MIN(s->cb ElementaryTransfer, s->cbIOBuffer);1936 cbTransfer = RT_MIN(s->cbTotalTransfer, s->cbIOBuffer); 1937 1937 1938 1938 if (s->uTxDir == PDMBLOCKTXDIR_TO_DEVICE) … … 2162 2162 /* 2163 2163 * Reply with the same amount of data as the real drive 2164 * but only if the command wasn't split ted.2164 * but only if the command wasn't split. 2165 2165 */ 2166 #if 0 //@todo: This destroys commands where cbTotalTransfer > cbIOBuffer 2166 2167 if (s->cbElementaryTransfer < s->cbIOBuffer) 2167 2168 s->cbTotalTransfer = cbTransfer; 2169 #endif 2168 2170 2169 2171 if ( s->aATAPICmd[0] == SCSI_INQUIRY … … 3692 3694 /* 3693 3695 * Send a command to the drive, passing data in/out as required. 3694 * Commands which exceed the I/O buffer size are split tedbelow3696 * Commands which exceed the I/O buffer size are split below 3695 3697 * or aborted if splitting is not implemented. 3696 3698 */
Note:
See TracChangeset
for help on using the changeset viewer.