svn commit: r282844 - stable/10/usr.sbin/bhyve

Alexander Motin mav at FreeBSD.org
Wed May 13 10:29:46 UTC 2015


Author: mav
Date: Wed May 13 10:29:45 2015
New Revision: 282844
URL: https://svnweb.freebsd.org/changeset/base/282844

Log:
  MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().

Modified:
  stable/10/usr.sbin/bhyve/pci_ahci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- stable/10/usr.sbin/bhyve/pci_ahci.c	Wed May 13 10:29:02 2015	(r282843)
+++ stable/10/usr.sbin/bhyve/pci_ahci.c	Wed May 13 10:29:45 2015	(r282844)
@@ -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)


More information about the svn-src-stable mailing list