| 97 | } |
| 98 | |
| 99 | void Disk::FormatUnit() |
| 100 | { |
| 101 | CheckReady(); |
| 102 | |
| 103 | // FMTDATA=1 is not supported (but OK if there is no DEFECT LIST) |
| 104 | if ((GetController()->GetCmdByte(1) & 0x10) != 0 && GetController()->GetCmdByte(4) != 0) { |
| 105 | throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_cdb); |
| 106 | } |
| 107 | |
| 108 | EnterStatusPhase(); |
| 109 | } |
| 110 | |
| 111 | void Disk::Read(access_mode mode) |
| 112 | { |
nothing calls this directly
no test coverage detected