Changeset 38680 in vbox for trunk/src/VBox/Devices/Storage/VSCSI/VSCSISense.cpp
- Timestamp:
- Sep 8, 2011 7:52:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VSCSI/VSCSISense.cpp
r38678 r38680 5 5 6 6 /* 7 * Copyright (C) 2006-201 0Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 43 43 } 44 44 45 int vscsiReqSenseErrorSet(PVSCSISENSE pVScsiSense, PVSCSIREQINT pVScsiReq, uint8_t uSCSISenseKey, uint8_t uSCSIASC )45 int vscsiReqSenseErrorSet(PVSCSISENSE pVScsiSense, PVSCSIREQINT pVScsiReq, uint8_t uSCSISenseKey, uint8_t uSCSIASC, uint8_t uSCSIASCQ) 46 46 { 47 47 memset(pVScsiSense->abSenseBuf, 0, sizeof(pVScsiSense->abSenseBuf)); … … 50 50 pVScsiSense->abSenseBuf[7] = 10; 51 51 pVScsiSense->abSenseBuf[12] = uSCSIASC; 52 pVScsiSense->abSenseBuf[13] = 0x00; /** @todo: Provide more info. */52 pVScsiSense->abSenseBuf[13] = uSCSIASCQ; 53 53 54 54 if (pVScsiReq->pbSense && pVScsiReq->cbSense)
Note:
See TracChangeset
for help on using the changeset viewer.