mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-20 02:17:23 +00:00
Fix spelling.
This commit is contained in:
@@ -248,7 +248,7 @@ protected:
|
||||
int field = 0;
|
||||
bool valid = true;
|
||||
|
||||
bool last_selection_has_atention = false;
|
||||
bool last_selection_has_attention = false;
|
||||
uint8_t last_selection_message = 0;
|
||||
ScsiBus* bus_obj;
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ uint32_t ScsiCdrom::inquiry(uint8_t *cmd_ptr, uint8_t *data_ptr) {
|
||||
}
|
||||
|
||||
int lun;
|
||||
if (this->last_selection_has_atention) {
|
||||
if (this->last_selection_has_attention) {
|
||||
LOG_F(INFO, "%s: INQUIRY (%d bytes) with ATN LUN = %02x & 7", this->name.c_str(),
|
||||
alloc_len, this->last_selection_message);
|
||||
lun = this->last_selection_message & 7;
|
||||
|
||||
@@ -48,10 +48,10 @@ void ScsiDevice::notify(ScsiNotification notif_type, int param)
|
||||
this->seq_steps = nullptr;
|
||||
this->initiator_id = this->bus_obj->get_initiator_id();
|
||||
if (this->bus_obj->test_ctrl_lines(SCSI_CTRL_ATN)) {
|
||||
this->last_selection_has_atention = true;
|
||||
this->last_selection_has_attention = true;
|
||||
this->switch_phase(ScsiPhase::MESSAGE_OUT);
|
||||
} else {
|
||||
this->last_selection_has_atention = false;
|
||||
this->last_selection_has_attention = false;
|
||||
this->switch_phase(ScsiPhase::COMMAND);
|
||||
}
|
||||
});
|
||||
@@ -187,7 +187,7 @@ int ScsiDevice::xfer_data() {
|
||||
} else {
|
||||
this->process_message();
|
||||
}
|
||||
if (this->last_selection_has_atention)
|
||||
if (this->last_selection_has_attention)
|
||||
this->last_selection_message = this->msg_buf[0];
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -170,7 +170,7 @@ int ScsiHardDisk::req_sense(uint16_t alloc_len) {
|
||||
//int next_phase;
|
||||
|
||||
int lun;
|
||||
if (this->last_selection_has_atention) {
|
||||
if (this->last_selection_has_attention) {
|
||||
lun = this->last_selection_message & 7;
|
||||
}
|
||||
else {
|
||||
@@ -232,7 +232,7 @@ uint32_t ScsiHardDisk::inquiry(uint8_t *cmd_ptr, uint8_t *data_ptr) {
|
||||
}
|
||||
|
||||
int lun;
|
||||
if (this->last_selection_has_atention) {
|
||||
if (this->last_selection_has_attention) {
|
||||
LOG_F(INFO, "%s: INQUIRY (%d bytes) with ATN LUN = %02x & 7",
|
||||
this->name.c_str(), alloc_len, this->last_selection_message);
|
||||
lun = this->last_selection_message & 7;
|
||||
|
||||
Reference in New Issue
Block a user