freebsd-skq/sys/dev/mmc
Michal Meloun 8727c174b0 dwmmc: Multiple busdma fixes.
- limit maximum segment size to 2048 bytes.  Although dwmmc supports a buffer
  fragment with a maximum length of 4095 bytes, use the nearest lower power
  of two as the maximum fragment size. Otherwise, busdma create excessive
  buffer fragments.
- fix off by one error in computation of the maximum data transfer length.
- in addition, reserve two DMA descriptors that can be used by busdma
  bouncing. The beginning or end of the buffer can be misaligned.
- Don’t ignore errors passed to bus_dmamap_load() callback function.
- In theory, a DMA engine may be running at time when next dma descriptor is
  constructed. Create a full DMA descriptor before OWN bit is set.

MFC after:	2 weeks
2021-02-03 21:15:11 +01:00
..
host dwmmc: Multiple busdma fixes. 2021-02-03 21:15:11 +01:00
bridge.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_fdt_helpers.c mmc_fdt_helpers: Drain the cd pin taskqueue in mmc_fdt_gpio_teardown 2020-04-16 15:58:58 +00:00
mmc_fdt_helpers.h Those functions are here to help fdt mmc controller drivers to parse 2020-04-14 16:30:54 +00:00
mmc_ioctl.h
mmc_private.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_subr.c Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_subr.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc.c mmc: clean up empty lines in .c and .h files 2020-09-01 22:07:26 +00:00
mmcbr_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbrvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbus_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcreg.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcsd.c mmcsd(4): properly set BIO error when partition switching fails 2021-01-22 00:18:40 +01:00
mmcvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00