aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-03-13 14:44:22 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-05 14:54:39 +0200
commit2844bdd99a96dc32a6ebf464f49e65be31da1c14 (patch)
tree0cd74ade4055ab9c64d58269659d6cc8500d769b
parent85e8dab1efc7228bb674e72f6fb3be78c1e883bf (diff)
downloadqemu-2844bdd99a96dc32a6ebf464f49e65be31da1c14.zip
qemu-2844bdd99a96dc32a6ebf464f49e65be31da1c14.tar.gz
qemu-2844bdd99a96dc32a6ebf464f49e65be31da1c14.tar.bz2
ide: IDENTIFY word 86 bit 14 is reserved
Reserved bits should be cleared to zero. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--hw/ide/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/core.c b/hw/ide/core.c
index 6f06d28..771811c 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -150,7 +150,7 @@ static void ide_identify(IDEState *s)
else
put_le16(p + 85, (1 << 14) | 1);
/* 13=flush_cache_ext,12=flush_cache,10=lba48 */
- put_le16(p + 86, (1 << 14) | (1 << 13) | (1 <<12) | (1 << 10));
+ put_le16(p + 86, (1 << 13) | (1 <<12) | (1 << 10));
/* 14=set to 1, 1=smart self test, 0=smart error logging */
put_le16(p + 87, (1 << 14) | 0);
put_le16(p + 88, 0x3f | (1 << 13)); /* udma5 set and supported */