Add sdmmc_io_set_blocklen() which allows to set the block length of an
authorpatrick <patrick@openbsd.org>
Sun, 11 Feb 2018 20:58:40 +0000 (20:58 +0000)
committerpatrick <patrick@openbsd.org>
Sun, 11 Feb 2018 20:58:40 +0000 (20:58 +0000)
commitdae1f2dba48093c739c482b35e1f62e6709d1bf8
treed93f297f8a9f39a28afa07e709bbdb60ce2370d5
parent1f8b50cb7a2eb53fe21aedbd356ed06d7973ac1c
Add sdmmc_io_set_blocklen() which allows to set the block length of an
SDIO function.  This is necessary for some SDIO cards that need to be
talked with using smaller block lengths than the maximum supported by
the host controller.

ok kettenis@
sys/dev/sdmmc/sdmmc.c
sys/dev/sdmmc/sdmmc_io.c
sys/dev/sdmmc/sdmmc_ioreg.h
sys/dev/sdmmc/sdmmcvar.h