mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-08 17:30:36 +00:00
scsicdrom: Rename mode_sense_6.
To match scsihd.
This commit is contained in:
parent
9cf91328c1
commit
5062508940
@ -94,7 +94,7 @@ void ScsiCdrom::process_command()
|
|||||||
this->illegal_command(cmd);
|
this->illegal_command(cmd);
|
||||||
break;
|
break;
|
||||||
case ScsiCommand::MODE_SENSE_6:
|
case ScsiCommand::MODE_SENSE_6:
|
||||||
this->mode_sense();
|
this->mode_sense_6();
|
||||||
break;
|
break;
|
||||||
case ScsiCommand::START_STOP_UNIT:
|
case ScsiCommand::START_STOP_UNIT:
|
||||||
this->illegal_command(cmd);
|
this->illegal_command(cmd);
|
||||||
@ -229,7 +229,7 @@ void ScsiCdrom::inquiry() {
|
|||||||
|
|
||||||
static char Apple_Copyright_Page_Data[] = "APPLE COMPUTER, INC ";
|
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 page_code = this->cmd_buf[2] & 0x3F;
|
||||||
//uint8_t alloc_len = this->cmd_buf[4];
|
//uint8_t alloc_len = this->cmd_buf[4];
|
||||||
|
@ -45,7 +45,7 @@ protected:
|
|||||||
int test_unit_ready();
|
int test_unit_ready();
|
||||||
void read(uint32_t lba, uint16_t nblocks, uint8_t cmd_len);
|
void read(uint32_t lba, uint16_t nblocks, uint8_t cmd_len);
|
||||||
void inquiry();
|
void inquiry();
|
||||||
void mode_sense();
|
void mode_sense_6();
|
||||||
void read_toc();
|
void read_toc();
|
||||||
void read_capacity_10();
|
void read_capacity_10();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user