From: Gabe Black Date: Wed, 3 Dec 2014 11:07:35 +0000 (-0800) Subject: ide: Accept the IDLE (0xe3) ATA command. X-Git-Tag: stable_2015_04_15~80 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecec8cde63666221dc29160629473247aac9a055;p=gem5.git 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. --- 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;