summaryrefslogtreecommitdiffstats
path: root/sys/arm/ti/am335x/files.am335x
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-01-12 02:42:33 +0000
committerian <ian@FreeBSD.org>2015-01-12 02:42:33 +0000
commit8ba6450bef81d042123c99e74208385717628d7d (patch)
treea9ef9b14b0101b7096102725e5ff8e7db0d5e2bb /sys/arm/ti/am335x/files.am335x
parente99b3a8d1a8b76127618eff27ad27f7a96dfe547 (diff)
downloadFreeBSD-src-8ba6450bef81d042123c99e74208385717628d7d.zip
FreeBSD-src-8ba6450bef81d042123c99e74208385717628d7d.tar.gz
Handle dma mappings with more than one segment for rpi sdhci.
The driver inherently does dma in 512 byte chunks, but it's possible that such a buffer can span two physically discontiguous pages (such as when a userland program does IO on the raw /dev/mmcsdN devices). Now the driver can handle a buffer that's split across two pages. It could in theory handle any number of segments now, but as long as IO is being done in 512 byte blocks it will never need more than two.
Diffstat (limited to 'sys/arm/ti/am335x/files.am335x')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud