Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc Fix incorrect sector counts with MMC.
details: https://anonhg.NetBSD.org/src/rev/cdfe679cde83
branches: trunk
changeset: 817181:cdfe679cde83
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Aug 11 01:33:25 2016 +0000
description:
Fix incorrect sector counts with MMC.
diffstat:
sys/dev/sdmmc/sdmmc_mem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 440ccd2348f7 -r cdfe679cde83 sys/dev/sdmmc/sdmmc_mem.c
--- a/sys/dev/sdmmc/sdmmc_mem.c Thu Aug 11 01:23:03 2016 +0000
+++ b/sys/dev/sdmmc/sdmmc_mem.c Thu Aug 11 01:33:25 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmc_mem.c,v 1.51 2016/03/13 09:12:16 tsutsui Exp $ */
+/* $NetBSD: sdmmc_mem.c,v 1.52 2016/08/11 01:33:25 nonaka Exp $ */
/* $OpenBSD: sdmmc_mem.c,v 1.10 2009/01/09 10:55:22 jsg Exp $ */
/*
@@ -45,7 +45,7 @@
/* Routines for SD/MMC memory cards. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.51 2016/03/13 09:12:16 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.52 2016/08/11 01:33:25 nonaka Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -905,7 +905,7 @@
sdmmc_mem_mmc_init(struct sdmmc_softc *sc, struct sdmmc_function *sf)
{
int width, value, hs_timing, bus_clock, error;
- char ext_csd[512];
+ uint8_t ext_csd[512];
uint32_t sectors = 0;
sc->sc_transfer_mode = NULL;
Home |
Main Index |
Thread Index |
Old Index