]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add SDIO support.
authorbz <bz@FreeBSD.org>
Sat, 8 Jun 2019 16:26:56 +0000 (16:26 +0000)
committerbz <bz@FreeBSD.org>
Sat, 8 Jun 2019 16:26:56 +0000 (16:26 +0000)
commit26cedd5096c7d948acefe81578b2ca86e119f7b0
tree9cc57e21444fd7752db39d238374d6c1ada7432b
parentc98e74d5e1a17d477374606e0de6b503374976e3
Add SDIO support.

Add a CAM-Newbus SDIO support module.  This works provides a newbus
infrastructure for device drivers wanting to use SDIO.  On the lower end
while it is connected by newbus to SDHCI, it talks CAM using the MMCCAM
framework to get to it.

This also duplicates the usbdevs framework to equally create sdiodev
header files with #defines for "vendors" and "products".

Submitted by: kibab (initial work, see https://reviews.freebsd.org/D12467)
Reviewed by: kibab, imp (comments on earlier version)
MFC after: 6 weeks
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19749
sys/conf/files
sys/conf/kmod.mk
sys/dev/sdio/sdio_if.m [new file with mode: 0644]
sys/dev/sdio/sdio_subr.c [new file with mode: 0644]
sys/dev/sdio/sdio_subr.h [new file with mode: 0644]
sys/dev/sdio/sdiob.c [new file with mode: 0644]
sys/dev/sdio/sdiob.h [new file with mode: 0644]
sys/dev/sdio/sdiodevs [new file with mode: 0644]
sys/modules/Makefile
sys/modules/sdio/Makefile [new file with mode: 0644]
sys/tools/sdiodevs2h.awk [new file with mode: 0644]