ahci: replace SATA FIS type magic numbers with constants
commit17fcb74af922ba9f761d11e874314c32a3445e97
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 13 Nov 2014 10:24:41 +0000 (13 10:24 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:31:12 +0000 (10 10:31 +0100)
tree51a9b2a601e30f46f33488d9078ba7ef61cce8f9
parent192cf55cc02dc0838bbfa5ac17feb7f6c1651441
ahci: replace SATA FIS type magic numbers with constants

SATA 3.0 "10.3.1 FIS Type values" defines the constants used to
differentiate between FIS types.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1415874281-7371-3-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/ahci.c
hw/ide/ahci.h