aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-05-02 14:43:37 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-05-02 14:43:37 +0000
commit52f224dfbf1cb1eda23ff30191e3fc4bf36418fd (patch)
tree43c95c498f9f65fca99690893bc92784db37bb57 /usr.sbin
parente5ea68e766a512597664c9a0f444eb9ac12b6e9d (diff)
downloadsrc-52f224dfbf1cb1eda23ff30191e3fc4bf36418fd.tar.gz
src-52f224dfbf1cb1eda23ff30191e3fc4bf36418fd.zip
Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=282344
Diffstat (limited to 'usr.sbin')
-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 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)