diff --git a/devices/common/scsi/scsicdrom.cpp b/devices/common/scsi/scsicdrom.cpp index 1929dd5..ff74628 100644 --- a/devices/common/scsi/scsicdrom.cpp +++ b/devices/common/scsi/scsicdrom.cpp @@ -94,7 +94,7 @@ void ScsiCdrom::process_command() this->illegal_command(cmd); break; case ScsiCommand::MODE_SENSE_6: - this->mode_sense(); + this->mode_sense_6(); break; case ScsiCommand::START_STOP_UNIT: this->illegal_command(cmd); @@ -229,7 +229,7 @@ void ScsiCdrom::inquiry() { static char Apple_Copyright_Page_Data[] = "APPLE COMPUTER, INC "; -void ScsiCdrom::mode_sense() +void ScsiCdrom::mode_sense_6() { uint8_t page_code = this->cmd_buf[2] & 0x3F; //uint8_t alloc_len = this->cmd_buf[4]; diff --git a/devices/common/scsi/scsicdrom.h b/devices/common/scsi/scsicdrom.h index 9dc7d03..e7d5ffe 100644 --- a/devices/common/scsi/scsicdrom.h +++ b/devices/common/scsi/scsicdrom.h @@ -45,7 +45,7 @@ protected: int test_unit_ready(); void read(uint32_t lba, uint16_t nblocks, uint8_t cmd_len); void inquiry(); - void mode_sense(); + void mode_sense_6(); void read_toc(); void read_capacity_10();