ide: add ncq identify data for ahci sata drives
authorRoland Elek <elek.roland@gmail.com>
Tue, 14 Dec 2010 00:34:37 +0000 (01:34 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:02 +0000 (16:11 +0100)
commit0c1de7da590fad0fdc04ccf3ce6be9bca01fb020
treeadebcdb25d1339a9bd23914da77d355927011bf9
parentdb5296ee3a25dd37014fed91becd7a6979c51235
ide: add ncq identify data for ahci sata drives

I modified ide_identify() to include the zero-based queue length
value in word 75, and set bit 8 in word 76 to signal NCQ support
in the identify data for AHCI SATA drives.

Signed-off-by: Roland Elek <elek.roland@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c
hw/ide/internal.h