]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r294032:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 22:06:56 +0000 (22:06 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 22:06:56 +0000 (22:06 +0000)
commit5575d563a5ec45853ff355b9f100c008111562a9
treef1ae59f3f0b8c233e9f5f2ecd9c8c26c40fd69fa
parentb7c7beb8dd463b16f339e4d49e9f32d6e182e89f
MFC r294032:

  Fix the handling of the "PDC write transfer length" erratum for at91.  The
  problem affects revision 1xx hardware as well as later versions.  Also, the
  recommended workaround is to set the PDC count register for a 12-byte
  transfer when the actual size is less than that, but there is no need to
  extend or zero-out the data buffer, because the blklen register contains
  the real transfer size and only that many bytes will be transferred.

  Also add a sysctl to turn debugging printfs on or off on the fly.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/at91/at91_mci.c