Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc bus_dma_segment_t ds_addr is bus_addr_t not pa...
details: https://anonhg.NetBSD.org/src/rev/04a6c6949629
branches: trunk
changeset: 339650:04a6c6949629
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Aug 02 11:26:21 2015 +0000
description:
bus_dma_segment_t ds_addr is bus_addr_t not paddr_t
diffstat:
sys/dev/sdmmc/sdhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 40c84311b4ed -r 04a6c6949629 sys/dev/sdmmc/sdhc.c
--- a/sys/dev/sdmmc/sdhc.c Sun Aug 02 11:11:32 2015 +0000
+++ b/sys/dev/sdmmc/sdhc.c Sun Aug 02 11:26:21 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhc.c,v 1.68 2015/08/02 07:14:10 mlelstv Exp $ */
+/* $NetBSD: sdhc.c,v 1.69 2015/08/02 11:26:21 jmcneill Exp $ */
/* $OpenBSD: sdhc.c,v 1.25 2009/01/13 19:44:20 grange Exp $ */
/*
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.68 2015/08/02 07:14:10 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.69 2015/08/02 11:26:21 jmcneill Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -1367,7 +1367,7 @@
/* Set DMA start address. */
if (ISSET(hp->flags, SHF_USE_ADMA2_MASK) && cmd->c_datalen > 0) {
for (int seg = 0; seg < cmd->c_dmamap->dm_nsegs; seg++) {
- paddr_t paddr =
+ bus_addr_t paddr =
cmd->c_dmamap->dm_segs[seg].ds_addr;
uint16_t len =
cmd->c_dmamap->dm_segs[seg].ds_len == 65536 ?
Home |
Main Index |
Thread Index |
Old Index