Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc SD_IO_RW_EXTENDED is a data transfer command, ...
details: https://anonhg.NetBSD.org/src/rev/7ba74134c3c2
branches: trunk
changeset: 965155:7ba74134c3c2
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Sep 02 11:09:42 2019 +0000
description:
SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC
diffstat:
sys/dev/sdmmc/sdmmc_io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ed121357f0f5 -r 7ba74134c3c2 sys/dev/sdmmc/sdmmc_io.c
--- a/sys/dev/sdmmc/sdmmc_io.c Mon Sep 02 10:35:15 2019 +0000
+++ b/sys/dev/sdmmc/sdmmc_io.c Mon Sep 02 11:09:42 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmc_io.c,v 1.15 2019/09/01 05:45:42 mlelstv Exp $ */
+/* $NetBSD: sdmmc_io.c,v 1.16 2019/09/02 11:09:42 jmcneill Exp $ */
/* $OpenBSD: sdmmc_io.c,v 1.10 2007/09/17 01:33:33 krw Exp $ */
/*
@@ -20,7 +20,7 @@
/* Routines for SD I/O cards. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc_io.c,v 1.15 2019/09/01 05:45:42 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc_io.c,v 1.16 2019/09/02 11:09:42 jmcneill Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -394,7 +394,7 @@
memset(&cmd, 0, sizeof cmd);
cmd.c_opcode = SD_IO_RW_EXTENDED;
cmd.c_arg = arg;
- cmd.c_flags = SCF_CMD_AC | SCF_RSP_R5;
+ cmd.c_flags = SCF_CMD_ADTC | SCF_RSP_R5;
cmd.c_data = datap;
cmd.c_datalen = datalen;
cmd.c_blklen = MIN(datalen, sf->blklen);
Home |
Main Index |
Thread Index |
Old Index