Changeset 33540 in vbox for trunk/src/VBox/Devices/Storage/DevATA.cpp
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r33486 r33540 227 227 RCPTRTYPE(uint8_t *) pbIOBufferRC; 228 228 229 RTRCPTR Aligmnent1; /**< Align the statistics at an 8-byte bound rary. */229 RTRCPTR Aligmnent1; /**< Align the statistics at an 8-byte boundary. */ 230 230 231 231 /* … … 2073 2073 do 2074 2074 { 2075 /* don't log superfl ous errors */2075 /* don't log superfluous errors */ 2076 2076 if ( rc == VERR_DEV_IO_ERROR 2077 2077 && ( u8Cmd == SCSI_TEST_UNIT_READY … … 2387 2387 ataH2BE_U16(pbBuf + 0, 6); 2388 2388 pbBuf[2] = 0x04; /* media */ 2389 pbBuf[3] = 0x5e; /* suppor ed = busy|media|external|power|operational */2389 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */ 2390 2390 pbBuf[4] = 0x02; /* new medium */ 2391 2391 pbBuf[5] = 0x02; /* medium present / door closed */ … … 2399 2399 ataH2BE_U16(pbBuf + 0, 6); 2400 2400 pbBuf[2] = 0x04; /* media */ 2401 pbBuf[3] = 0x5e; /* suppor ed = busy|media|external|power|operational */2401 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */ 2402 2402 pbBuf[4] = 0x03; /* media removal */ 2403 2403 pbBuf[5] = 0x00; /* medium absent / door closed */ … … 2422 2422 ataH2BE_U16(pbBuf + 0, 6); 2423 2423 pbBuf[2] = 0x01; /* operational change request / notification */ 2424 pbBuf[3] = 0x5e; /* suppor ed = busy|media|external|power|operational */2424 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */ 2425 2425 pbBuf[4] = 0x00; 2426 2426 pbBuf[5] = 0x00; … … 4603 4603 } 4604 4604 4605 /** Async hI/O thread for an interface. Once upon a time this was readable4605 /** Async I/O thread for an interface. Once upon a time this was readable 4606 4606 * code with several loops and a different semaphore for each purpose. But 4607 4607 * then came the "how can one save the state in the middle of a PIO transfer" … … 6157 6157 { 6158 6158 /* 6159 * Setup asynchronous notification comp mletion if the requests haven't6159 * Setup asynchronous notification completion if the requests haven't 6160 6160 * completed yet. 6161 6161 */ … … 7043 7043 { 7044 7044 case VERR_ACCESS_DENIED: 7045 /* Error already ca tched by DrvHostBase */7045 /* Error already cached by DrvHostBase */ 7046 7046 return rc; 7047 7047 default:
Note:
See TracChangeset
for help on using the changeset viewer.