Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().

MFC after:	1 week
This commit is contained in:
mav 2015-05-02 14:43:37 +00:00
parent d5ce924052
commit 9b3d347cfb

View File

@ -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)