]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Depending on combination of running commands (NCQ/non-NCQ) try to avoid
authorAlexander Motin <mav@FreeBSD.org>
Mon, 25 Mar 2013 08:50:51 +0000 (08:50 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Mon, 25 Mar 2013 08:50:51 +0000 (08:50 +0000)
commit3d449890556f8aec5e781517c6c30c4d76b89c49
tree47d40738cca91a93e261f93452a557bd494ea8aa
parent5b4661289d4e1c67c8be651772c14142a6f78127
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.

MFC after: 1 month
sys/dev/ahci/ahci.c