From ecec8cde63666221dc29160629473247aac9a055 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 3 Dec 2014 03:07:35 -0800 Subject: ide: Accept the IDLE (0xe3) ATA command. This command is supposed to set up a timer which will put the drive into a standby mode if it isn't sent a command within a given time out. Since most of the timeouts are generally significantly longer than a simulation would run anyway, and we don't have an implementation for standby mode to begin with, we can accept the command, do nothing, and report success. --- src/dev/ide_disk.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dev/ide_disk.cc') diff --git a/src/dev/ide_disk.cc b/src/dev/ide_disk.cc index b910c8a6a..4bf1a13c8 100644 --- a/src/dev/ide_disk.cc +++ b/src/dev/ide_disk.cc @@ -645,6 +645,7 @@ IdeDisk::startCommand() case WDSF_SEEK: case SET_FEATURES: case WDCC_SETMULTI: + case WDCC_IDLE: devState = Command_Execution; action = ACT_CMD_COMPLETE; break; -- cgit v1.2.3