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/e0647be1d057
branches: trunk
changeset: 339651:e0647be1d057
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Aug 02 11:28:01 2015 +0000
description:
bus_dma_segment_t ds_addr is bus_addr_t not paddr_t (another case of it)
diffstat:
sys/dev/sdmmc/sdhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 04a6c6949629 -r e0647be1d057 sys/dev/sdmmc/sdhc.c
--- a/sys/dev/sdmmc/sdhc.c Sun Aug 02 11:26:21 2015 +0000
+++ b/sys/dev/sdmmc/sdhc.c Sun Aug 02 11:28:01 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhc.c,v 1.69 2015/08/02 11:26:21 jmcneill Exp $ */
+/* $NetBSD: sdhc.c,v 1.70 2015/08/02 11:28:01 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.69 2015/08/02 11:26:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.70 2015/08/02 11:28:01 jmcneill Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -1405,7 +1405,7 @@
HCLR1(hp, SDHC_HOST_CTL, SDHC_DMA_SELECT);
HSET1(hp, SDHC_HOST_CTL, SDHC_DMA_SELECT_ADMA2);
- const paddr_t desc_addr = hp->adma_map->dm_segs[0].ds_addr;
+ const bus_addr_t desc_addr = hp->adma_map->dm_segs[0].ds_addr;
HWRITE4(hp, SDHC_ADMA_SYSTEM_ADDR, desc_addr & 0xffffffff);
if (ISSET(hp->flags, SHF_USE_ADMA2_64)) {
Home |
Main Index |
Thread Index |
Old Index