File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ void AtapiCdrom::perform_packet_command() {
116116 this ->status_good ();
117117 this ->present_status ();
118118 break ;
119- case ScsiCommand::READ_CAPACITY_10 :
119+ case ScsiCommand::READ_CAPACITY :
120120 this ->xfer_cnt = this ->report_capacity (this ->data_buf );
121121 this ->r_byte_count = this ->xfer_cnt ;
122122 this ->data_ptr = (uint16_t *)this ->data_buf ;
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ enum ScsiCommand : uint8_t {
121121 DIAG_RESULTS = 0x1C ,
122122 SEND_DIAGS = 0x1D ,
123123 PREVENT_ALLOW_MEDIUM_REMOVAL = 0x1E ,
124- READ_CAPACITY_10 = 0x25 ,
124+ READ_CAPACITY = 0x25 ,
125125 READ_10 = 0x28 ,
126126 WRITE_10 = 0x2A ,
127127 SEEK_10 = 0x2B ,
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ void ScsiCdrom::process_command()
110110 this ->eject_allowed = (cmd[4 ] & 1 ) == 0 ;
111111 this ->switch_phase (ScsiPhase::STATUS);
112112 break ;
113- case ScsiCommand::READ_CAPACITY_10 :
113+ case ScsiCommand::READ_CAPACITY :
114114 this ->read_capacity_10 ();
115115 break ;
116116 case ScsiCommand::READ_10:
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ void ScsiHardDisk::process_command() {
124124 this ->eject_allowed = (cmd[4 ] & 1 ) == 0 ;
125125 this ->switch_phase (ScsiPhase::STATUS);
126126 break ;
127- case ScsiCommand::READ_CAPACITY_10 :
127+ case ScsiCommand::READ_CAPACITY :
128128 this ->read_capacity_10 ();
129129 break ;
130130 case ScsiCommand::READ_10:
You can’t perform that action at this time.
0 commit comments