summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtsx.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-01 16:04:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-01 16:04:40 +0000
commit6bd1ebc4f6372213e2d48e527b38f1d9c3c14f0e (patch)
tree80ea831bd0078578a4716851e31069b80e26e830 /sys/dev/ic/rtsx.c
parent9350001d745387d778c568a6f38cc76cb9f0beb8 (diff)
Add support for changing the bus width to the sdmmc subsystem and the sdhc(4)
controller. Use this to switch SD cards to a 4-bit bus if they support it. ok deraadt@, jsg@
Diffstat (limited to 'sys/dev/ic/rtsx.c')
-rw-r--r--sys/dev/ic/rtsx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/rtsx.c b/sys/dev/ic/rtsx.c
index 38b16a4695b..ba734292ca6 100644
--- a/sys/dev/ic/rtsx.c
+++ b/sys/dev/ic/rtsx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsx.c,v 1.12 2015/04/28 07:55:13 stsp Exp $ */
+/* $OpenBSD: rtsx.c,v 1.13 2016/05/01 16:04:39 kettenis Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -146,6 +146,7 @@ struct sdmmc_chip_functions rtsx_functions = {
/* bus power and clock frequency */
rtsx_bus_power,
rtsx_bus_clock,
+ NULL,
/* command execution */
rtsx_exec_command,
/* card interrupt */