summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/dev/octmmc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* octmmc(4): msleep(9) -> msleep_nsec(9); ok visa@ kn@cheloha2019-10-071-4/+4
|
* Handle card detect GPIO.visa2019-01-131-1/+14
|
* Pass timeout in seconds instead of ticks.visa2019-01-131-5/+4
|
* Add references to errata.visa2018-01-071-6/+7
|
* Synchronize command initiation, event wait, and interrupt handlingvisa2017-11-091-5/+21
| | | | | | using a mutex. This lets octmmc_intr() run without the KERNEL_LOCK(). Tested on CN6120, CN7130 and CN7360.
* Utilize scatter/gather DMA with the newer MMC controller.visa2017-10-161-35/+109
|
* Fix controller locking so that it covers the DMA map and bounce buffer.visa2017-09-231-7/+8
| | | | Those are shared by SD/MMC buses.
* Do not bounce if possible.visa2017-09-221-24/+25
|
* Allocate a bounce buffer once during init and reuse it for DMA commands.visa2017-09-221-27/+31
| | | | | | This makes the system a bit harder to corner when paging to SD/MMC. In addition, limit the maximum DMA segment size to MAXPHYS.
* Let octmmc(4) attach on revision 7890 controller.visa2017-09-041-20/+54
|
* Keep refusing SDIO initialization. The driver cannot work properlyvisa2017-07-101-1/+10
| | | | with SDIO because it does not handle card interrupts.
* Add logic for running SD commands. Tested with a few different makesvisa2017-07-071-14/+53
| | | | of MMC/SD memory.
* Use the correct interrupt disestablish routine.visa2017-04-061-3/+3
|
* Add a driver for OCTEON MMC host controller.visa2016-12-211-0/+790
Tested on EdgeRouter Pro, and Shasta. OK mpi@