summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/rtsx.c6
-rw-r--r--sys/dev/ic/w83l518d_sdmmc.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/rtsx.c b/sys/dev/ic/rtsx.c
index ba734292ca6..9d1c379c130 100644
--- a/sys/dev/ic/rtsx.c
+++ b/sys/dev/ic/rtsx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsx.c,v 1.13 2016/05/01 16:04:39 kettenis Exp $ */
+/* $OpenBSD: rtsx.c,v 1.14 2016/05/05 11:01:08 kettenis Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -95,7 +95,7 @@ u_int32_t rtsx_host_ocr(sdmmc_chipset_handle_t);
int rtsx_host_maxblklen(sdmmc_chipset_handle_t);
int rtsx_card_detect(sdmmc_chipset_handle_t);
int rtsx_bus_power(sdmmc_chipset_handle_t, u_int32_t);
-int rtsx_bus_clock(sdmmc_chipset_handle_t, int);
+int rtsx_bus_clock(sdmmc_chipset_handle_t, int, int);
void rtsx_exec_command(sdmmc_chipset_handle_t, struct sdmmc_command *);
int rtsx_init(struct rtsx_softc *, int);
void rtsx_soft_reset(struct rtsx_softc *);
@@ -614,7 +614,7 @@ ret:
* Return zero on success.
*/
int
-rtsx_bus_clock(sdmmc_chipset_handle_t sch, int freq)
+rtsx_bus_clock(sdmmc_chipset_handle_t sch, int freq, int timing)
{
struct rtsx_softc *sc = sch;
int s;
diff --git a/sys/dev/ic/w83l518d_sdmmc.c b/sys/dev/ic/w83l518d_sdmmc.c
index 9e867ca7a12..76c7a10c8d6 100644
--- a/sys/dev/ic/w83l518d_sdmmc.c
+++ b/sys/dev/ic/w83l518d_sdmmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w83l518d_sdmmc.c,v 1.3 2016/05/01 16:04:39 kettenis Exp $ */
+/* $OpenBSD: w83l518d_sdmmc.c,v 1.4 2016/05/05 11:01:08 kettenis Exp $ */
/* $NetBSD: w83l518d_sdmmc.c,v 1.1 2009/09/30 20:44:50 jmcneill Exp $ */
/*
@@ -65,7 +65,7 @@ int wb_sdmmc_card_detect(sdmmc_chipset_handle_t);
int wb_sdmmc_write_protect(sdmmc_chipset_handle_t);
#endif
int wb_sdmmc_bus_power(sdmmc_chipset_handle_t, uint32_t);
-int wb_sdmmc_bus_clock(sdmmc_chipset_handle_t, int);
+int wb_sdmmc_bus_clock(sdmmc_chipset_handle_t, int, int);
int wb_sdmmc_bus_width(sdmmc_chipset_handle_t, int);
void wb_sdmmc_exec_command(sdmmc_chipset_handle_t,
struct sdmmc_command *);
@@ -278,7 +278,7 @@ wb_sdmmc_bus_power(sdmmc_chipset_handle_t sch, uint32_t ocr)
}
int
-wb_sdmmc_bus_clock(sdmmc_chipset_handle_t sch, int freq)
+wb_sdmmc_bus_clock(sdmmc_chipset_handle_t sch, int freq, int timing)
{
struct wb_softc *wb = sch;
uint8_t clk;