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)
commitccf0fd8b056dec1fa610842dc3eb2f560ca65753
treeadebcdb25d1339a9bd23914da77d355927011bf9
parent2ff61ff1955cb5268a2604aba8f6aa0c4c658505
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