]> xenbits.xensource.com Git - seabios.git/commit
ahci: Disable Native Command Queueing
authorZeh, Werner <werner.zeh@siemens.com>
Fri, 23 Jun 2017 07:18:04 +0000 (07:18 +0000)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 2 Jul 2017 16:58:52 +0000 (12:58 -0400)
commitb3a9f27fb1f63e9b6bf5ca424d31e23bd5b4c2f0
treef75be41ed72e652d336ddd10bac76076b5d3e31a
parent7759d3a5be049eb8d0b4f7c6b1f1a0ba5e871cf3
ahci: Disable Native Command Queueing

The AHCI driver currently sets the NCQ bit for every command that is
issued to the SATA drive.  This is not needed as there is always only
one command active at a time and in turn can lead to a hanging AHCI
controller (true for Marvel 88SE9170). The following patch disables
the usage of NCQ completely. With this patch the Marvel AHCI
controller works just fine without any issues.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/ahci.c