summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-05-02 14:43:37 +0000
committermav <mav@FreeBSD.org>2015-05-02 14:43:37 +0000
commit9b3d347cfb2434f09db09261ad4868aab251bb34 (patch)
tree43c95c498f9f65fca99690893bc92784db37bb57 /usr.sbin/bhyve
parentd5ce924052821514fbf079a03eb0998689b58bd6 (diff)
downloadFreeBSD-src-9b3d347cfb2434f09db09261ad4868aab251bb34.zip
FreeBSD-src-9b3d347cfb2434f09db09261ad4868aab251bb34.tar.gz
Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r--usr.sbin/bhyve/pci_ahci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/pci_ahci.c b/usr.sbin/bhyve/pci_ahci.c
index 12540a1..a878ab3 100644
--- a/usr.sbin/bhyve/pci_ahci.c
+++ b/usr.sbin/bhyve/pci_ahci.c
@@ -418,7 +418,8 @@ ahci_port_stop(struct ahci_port *p)
slot = aior->slot;
cfis = aior->cfis;
if (cfis[2] == ATA_WRITE_FPDMA_QUEUED ||
- cfis[2] == ATA_READ_FPDMA_QUEUED)
+ cfis[2] == ATA_READ_FPDMA_QUEUED ||
+ cfis[2] == ATA_SEND_FPDMA_QUEUED)
ncq = 1;
if (ncq)
OpenPOWER on IntegriCloud