mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-06 16:29:33 +00:00
atahd: Add STANDBY_IMMEDIATE.
This commit is contained in:
parent
c999c51d77
commit
f1abb66f9a
|
@ -139,6 +139,7 @@ enum ATA_Cmd : uint8_t {
|
|||
WRITE_MULTIPLE = 0xC5,
|
||||
READ_DMA = 0xC8,
|
||||
WRITE_DMA = 0xCA,
|
||||
STANDBY_IMMEDIATE_E0 = 0xE0,
|
||||
FLUSH_CACHE = 0xE7, // ATA-5
|
||||
WRITE_BUFFER_DMA = 0xE9,
|
||||
READ_BUFFER_DMA = 0xEB,
|
||||
|
|
|
@ -164,6 +164,11 @@ int AtaHardDisk::perform_command() {
|
|||
this->r_status &= ~BSY;
|
||||
this->update_intrq(1);
|
||||
break;
|
||||
case STANDBY_IMMEDIATE_E0:
|
||||
LOG_F(INFO, "%s: STANDBY_IMMEDIATE_E0", this->name.c_str());
|
||||
this->r_status &= ~BSY;
|
||||
this->update_intrq(1);
|
||||
break;
|
||||
default:
|
||||
LOG_F(ERROR, "%s: unknown ATA command 0x%x", this->name.c_str(), this->r_command);
|
||||
this->r_status &= ~BSY;
|
||||
|
|
Loading…
Reference in New Issue
Block a user