mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-03 15:32:36 +00:00
Silence SCSI logging messages.
This commit is contained in:
parent
d50152dd1a
commit
3de89eaaf7
@ -313,7 +313,7 @@ void Sc53C94::exec_command()
|
||||
this->cmd_steps = sel_no_atn_desc;
|
||||
this->cur_state = SeqState::BUS_FREE;
|
||||
this->sequencer();
|
||||
LOG_F(INFO, "SC53C94: SELECT W/O ATN command started");
|
||||
LOG_F(9, "SC53C94: SELECT W/O ATN command started");
|
||||
break;
|
||||
case CMD_SELECT_WITH_ATN:
|
||||
static SeqDesc * sel_with_atn_desc = new SeqDesc[4]{
|
||||
@ -327,7 +327,7 @@ void Sc53C94::exec_command()
|
||||
this->cmd_steps = sel_with_atn_desc;
|
||||
this->cur_state = SeqState::BUS_FREE;
|
||||
this->sequencer();
|
||||
LOG_F(INFO, "SC53C94: SELECT WITH ATN command started");
|
||||
LOG_F(9, "SC53C94: SELECT WITH ATN command started");
|
||||
break;
|
||||
case CMD_ENA_SEL_RESEL:
|
||||
exec_next_command();
|
||||
@ -434,7 +434,7 @@ void Sc53C94::sequencer()
|
||||
case SeqState::SEL_END:
|
||||
if (this->bus_obj->end_selection(this->my_bus_id, this->target_id)) {
|
||||
this->bus_obj->release_ctrl_line(this->my_bus_id, SCSI_CTRL_SEL);
|
||||
LOG_F(INFO, "SC53C94: selection completed");
|
||||
LOG_F(9, "SC53C94: selection completed");
|
||||
} else { // selection timeout
|
||||
this->seq_step = this->cmd_steps->step_num;
|
||||
this->int_status |= this->cmd_steps->status;
|
||||
|
@ -30,12 +30,12 @@ void ScsiDevice::notify(ScsiBus* bus_obj, ScsiMsg msg_type, int param)
|
||||
if (msg_type == ScsiMsg::BUS_PHASE_CHANGE) {
|
||||
switch (param) {
|
||||
case ScsiPhase::RESET:
|
||||
LOG_F(INFO, "ScsiDevice %d: bus reset aknowledged", this->scsi_id);
|
||||
LOG_F(9, "ScsiDevice %d: bus reset aknowledged", this->scsi_id);
|
||||
break;
|
||||
case ScsiPhase::SELECTION:
|
||||
// check if something tries to select us
|
||||
if (bus_obj->get_data_lines() & (1 << scsi_id)) {
|
||||
LOG_F(INFO, "ScsiDevice %d selected", this->scsi_id);
|
||||
LOG_F(9, "ScsiDevice %d selected", this->scsi_id);
|
||||
TimerManager::get_instance()->add_oneshot_timer(
|
||||
BUS_SETTLE_DELAY,
|
||||
[this, bus_obj]() {
|
||||
@ -48,7 +48,9 @@ void ScsiDevice::notify(ScsiBus* bus_obj, ScsiMsg msg_type, int param)
|
||||
this->bus_obj = bus_obj;
|
||||
if (bus_obj->test_ctrl_lines(SCSI_CTRL_ATN)) {
|
||||
this->switch_phase(ScsiPhase::MESSAGE_OUT);
|
||||
LOG_F(INFO, "ScsiDevice: received message 0x%X", this->msg_buf[0]);
|
||||
if (this->msg_buf[0] != 0x80) {
|
||||
LOG_F(INFO, "ScsiDevice: received message 0x%X", this->msg_buf[0]);
|
||||
}
|
||||
}
|
||||
this->switch_phase(ScsiPhase::COMMAND);
|
||||
this->process_command();
|
||||
|
Loading…
x
Reference in New Issue
Block a user