diff options
author | mav <mav@FreeBSD.org> | 2015-05-13 10:29:45 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-05-13 10:29:45 +0000 |
commit | bc8d2819b9ce7a3a2099993c580568ee15be94df (patch) | |
tree | 1e3502821a9654f19b3d8abcce8548c438700955 /usr.sbin | |
parent | cb164480477f49a669f6810c5832b6d2fdbf92cb (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/bhyve/pci_ahci.c | 3 |
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) |