]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r248698:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Apr 2013 19:24:53 +0000 (19:24 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Apr 2013 19:24:53 +0000 (19:24 +0000)
commit62c44064d67e9ac459a3c514346fa31087cd6141
tree50a9969ba65342b27d9f5c363c6faa2003a17d97
parent8dd0d5f94992815ea56309380d45fa6e123c7c4e
MFC r248698:
Depending on combination of running commands (NCQ/non-NCQ) try to avoid
extra read from PxCI/PxSACT registers.  If only NCQ commands are running, we
don't really need PxCI.  If only non-NCQ commands are running we don't need
PxSACT.  Mixed set may happen only on controllers with FIS-based switching
when port multiplier is attached, and then we have to read both registers.

git-svn-id: svn://svn.freebsd.org/base/stable/9@249851 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ahci/ahci.c