-
Copyright (c) 2017 Emmanuel Vadot <manu@freebsd.org>

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

$FreeBSD$

.Dd Dec 25, 2017 .Dt AW_MMC 4 .Os .Sh NAME .Nm aw_mmc .Nd driver for the SD/MMC controller in Allwinner SoC .Sh SYNOPSIS .Cd "device mmc" .Sh DESCRIPTION The .Nm device driver provides support for the Allwinner SD/MMC host controller. .Sh HARDWARE The current version of the .Nm driver supports the SD/MMC controller with one of the following compatible strings :

p l -bullet -compact t allwinner,sun4i-a10-mmc t allwinner,sun5i-a13-mmc t allwinner,sun7i-a20-mmc t allwinner,sun50i-a64-mmc .El .Sh SYSCTL VARIABLES The following read-only variables are available via .Xr sysctl 8 : l -tag -width indent t Va dev.aw_mmc.req_timeout Request timeout in seconds (default: 10) . .El .Sh SEE ALSO .Xr fdt 4 , .Xr mmc 4 .Sh HISTORY The .Nm device driver first appeared in .Fx 10.0 . .Sh AUTHORS The .Nm device driver was originally written by .An Alexander Fedorov Aq Mt alexander.fedorov@rtlservice.com . Later work and this manual page was done by .An Emmanuel Vadot Aq Mt manu@freebsd.org .