summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-05-13 10:29:45 +0000
committermav <mav@FreeBSD.org>2015-05-13 10:29:45 +0000
commitbc8d2819b9ce7a3a2099993c580568ee15be94df (patch)
tree1e3502821a9654f19b3d8abcce8548c438700955 /usr.sbin/bhyve
parentcb164480477f49a669f6810c5832b6d2fdbf92cb (diff)
downloadFreeBSD-src-bc8d2819b9ce7a3a2099993c580568ee15be94df.zip
FreeBSD-src-bc8d2819b9ce7a3a2099993c580568ee15be94df.tar.gz
MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().
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 4e21d45..48d8960 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