Changeset 56579 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Jun 22, 2015 4:08:08 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101206
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r56413 r56579 2222 2222 * invisible as possible to the guest. */ 2223 2223 Log3(("ATAPI PT inquiry data before (%d): %.*Rhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer))); 2224 ataR3 PadString(s->CTX_SUFF(pbIOBuffer) + 8, "VBOX", 8);2225 ataR3 PadString(s->CTX_SUFF(pbIOBuffer) + 16, "CD-ROM", 16);2226 ataR3 PadString(s->CTX_SUFF(pbIOBuffer) + 32, "1.0", 4);2224 ataR3SCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 8, "VBOX", 8); 2225 ataR3SCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 16, "CD-ROM", 16); 2226 ataR3SCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 32, "1.0", 4); 2227 2227 } 2228 2228 … … 2779 2779 pbBuf[6] = 0; /* reserved */ 2780 2780 pbBuf[7] = 0; /* reserved */ 2781 ataR3 PadString(pbBuf + 8, s->szInquiryVendorId, 8);2782 ataR3 PadString(pbBuf + 16, s->szInquiryProductId, 16);2783 ataR3 PadString(pbBuf + 32, s->szInquiryRevision, 4);2781 ataR3SCSIPadStr(pbBuf + 8, s->szInquiryVendorId, 8); 2782 ataR3SCSIPadStr(pbBuf + 16, s->szInquiryProductId, 16); 2783 ataR3SCSIPadStr(pbBuf + 32, s->szInquiryRevision, 4); 2784 2784 s->iSourceSink = ATAFN_SS_NULL; 2785 2785 atapiR3CmdOK(s);
Note:
See TracChangeset
for help on using the changeset viewer.