]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r327339, r327924
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Mar 2018 22:58:34 +0000 (22:58 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Mar 2018 22:58:34 +0000 (22:58 +0000)
commit665ca62de69c8284fe005feace98984b9c8eefec
tree659f71d9237e5da6331ea16efdad281a1e1ca62e
parent41ba825e6556cef83781ccd109547f50df78acfe
MFC: r327339, r327924

- There is no need to keep the tuning error and re-tuning interrupts
  enabled (though, no interrupt generation enabled for them) all the
  time as soon as (re-)tuning is supported; only enable them and let
  them generate interrupts when actually using (re-)tuning.
- Also disable all interrupts except SDHCI_INT_DATA_AVAIL ones while
  executing tuning and not just their signaling.
- Set the tuning error and re-tuning interrupt enable bits based on
  the SDHCI_TUNING_ENABLED rather than the SDHCI_TUNING_SUPPORTED flag,
  i. e. only when (re-)tuning is actually used. Currently, this change
  makes no net difference, though.

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