029c02a3ae
It's now possible to use Broadcom functions to read the I/O registers of SDIO card. The functions were copied from the BSD-licensed Broadcom Linux driver as-is. To make it possible, a small Linux compatibility layer was introduced. Currently the card responds with the correct version number ("magic") when reading the corresponding address. Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D12111
10 lines
123 B
Makefile
10 lines
123 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= sdiotool
|
|
SRCS= sdiotool.c cam_sdio.c linux_sdio_compat.c
|
|
|
|
LIBADD= cam util
|
|
MAN=
|
|
|
|
.include <bsd.prog.mk>
|