Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_3...
details: https://anonhg.NetBSD.org/src/rev/30ee6b2f6d18
branches: trunk
changeset: 457574:30ee6b2f6d18
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Jul 03 23:10:43 2019 +0000
description:
Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags
diffstat:
sys/dev/fdt/arasan_sdhc_fdt.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 30b16b6b7893 -r 30ee6b2f6d18 sys/dev/fdt/arasan_sdhc_fdt.c
--- a/sys/dev/fdt/arasan_sdhc_fdt.c Wed Jul 03 23:10:08 2019 +0000
+++ b/sys/dev/fdt/arasan_sdhc_fdt.c Wed Jul 03 23:10:43 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arasan_sdhc_fdt.c,v 1.2 2019/07/03 19:46:02 jmcneill Exp $ */
+/* $NetBSD: arasan_sdhc_fdt.c,v 1.3 2019/07/03 23:10:43 jmcneill Exp $ */
/*-
* Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arasan_sdhc_fdt.c,v 1.2 2019/07/03 19:46:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arasan_sdhc_fdt.c,v 1.3 2019/07/03 23:10:43 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -279,6 +279,8 @@
sc->sc_base.sc_dev = self;
sc->sc_base.sc_host = sc->sc_host;
sc->sc_base.sc_flags = SDHC_FLAG_NO_CLKBASE |
+ SDHC_FLAG_SINGLE_POWER_WRITE |
+ SDHC_FLAG_32BIT_ACCESS |
SDHC_FLAG_USE_DMA |
SDHC_FLAG_USE_ADMA2 |
SDHC_FLAG_STOP_WITH_TC;
Home |
Main Index |
Thread Index |
Old Index