Changeset 3310 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 27, 2007 10:11:43 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r3211 r3310 1856 1856 { 1857 1857 if (s->cErrors++ < MAX_LOG_REL_ERRORS) 1858 LogRel(("PIIX3 ATA: LUN#%d: CD-ROM passthrough command (%#04x) error %d %Vrc\n", s->iLUN, s->aATAPICmd[0], uATAPISenseKey, rc)); 1858 { 1859 uint8_t u8Cmd = s->aATAPICmd[0]; 1860 do 1861 { 1862 /* don't log superflous errors */ 1863 if ( rc == VERR_DEV_IO_ERROR 1864 && ( u8Cmd == SCSI_TEST_UNIT_READY 1865 || u8Cmd == SCSI_READ_CAPACITY 1866 || u8Cmd == SCSI_READ_TOC_PMA_ATIP)) 1867 break; 1868 LogRel(("PIIX3 ATA: LUN#%d: CD-ROM passthrough command (%#04x) error %d %Vrc\n", s->iLUN, u8Cmd, uATAPISenseKey, rc)); 1869 } while (0); 1870 } 1859 1871 atapiCmdError(s, uATAPISenseKey, 0); 1860 1872 /* This is a drive-reported error. atapiCmdError() sets both the error
Note:
See TracChangeset
for help on using the changeset viewer.