HomeFreeBSD

aw_mmc: Rework DMA

Description

aw_mmc: Rework DMA

  • Calculate the number of segments based on the page size
  • Add some comments on dma function so it's easier to read
  • Only enable interrupts on the last dma segment
  • If the segments size is the max transfer size, use the special size 0 for the controller.
  • The max_data ivars is in block so calculate it properly.

Details

Provenance
manuAuthored on
Parents
rS334433: aw_mmc: Rename clock register defines consistently
Branches
Unknown
Tags
Unknown