summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-04-19 16:25:33 +0000
committerkettenis <kettenis@openbsd.org>2020-04-19 16:25:33 +0000
commit37d458161c55492f23dd0f2d1450bf14b7bc4ddf (patch)
tree43db8037ba190d8585489df9fc3c7ab0f95a6953
parentAdd quitks for the SDHC controller found on the Raspberry Pi. This will (diff)
downloadwireguard-openbsd-37d458161c55492f23dd0f2d1450bf14b7bc4ddf.tar.xz
wireguard-openbsd-37d458161c55492f23dd0f2d1450bf14b7bc4ddf.zip
Add support for hardware where an SDHC controller lives on a bus that
only supports 32-bit access (hello Raspberry Pi). ok tobhe@
-rw-r--r--sys/dev/sdmmc/sdhcvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/sdhcvar.h b/sys/dev/sdmmc/sdhcvar.h
index efa3f5e0bc8..c4ec283ea73 100644
--- a/sys/dev/sdmmc/sdhcvar.h
+++ b/sys/dev/sdmmc/sdhcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhcvar.h,v 1.12 2019/04/02 07:08:40 stsp Exp $ */
+/* $OpenBSD: sdhcvar.h,v 1.13 2020/04/19 16:25:33 kettenis Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -49,5 +49,6 @@ void sdhc_needs_discover(struct sdhc_softc *);
#define SDHC_F_NOPWR0 (1 << 0)
#define SDHC_F_NODDR50 (1 << 1)
#define SDHC_F_NONREMOVABLE (1 << 2)
+#define SDHC_F_32BIT_ACCESS (1 << 3)
#endif