From 52f224dfbf1cb1eda23ff30191e3fc4bf36418fd Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 2 May 2015 14:43:37 +0000 Subject: [PATCH] Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop(). MFC after: 1 week --- usr.sbin/bhyve/pci_ahci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/pci_ahci.c b/usr.sbin/bhyve/pci_ahci.c index 12540a14dd5d..a878ab3b430d 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)