Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt s/0xffffffff/UINT32_MAX/ in bus_dmatag_subregion...
details: https://anonhg.NetBSD.org/src/rev/2d42553dcce2
branches: trunk
changeset: 359690:2d42553dcce2
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 17 14:00:47 2022 +0000
description:
s/0xffffffff/UINT32_MAX/ in bus_dmatag_subregion call
diffstat:
sys/dev/fdt/arasan_sdhc_fdt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5b7c9e91931d -r 2d42553dcce2 sys/dev/fdt/arasan_sdhc_fdt.c
--- a/sys/dev/fdt/arasan_sdhc_fdt.c Mon Jan 17 11:20:00 2022 +0000
+++ b/sys/dev/fdt/arasan_sdhc_fdt.c Mon Jan 17 14:00:47 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arasan_sdhc_fdt.c,v 1.6 2021/01/27 03:10:21 thorpej Exp $ */
+/* $NetBSD: arasan_sdhc_fdt.c,v 1.7 2022/01/17 14:00:47 skrll 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.6 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arasan_sdhc_fdt.c,v 1.7 2022/01/17 14:00:47 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -272,7 +272,7 @@
const uint32_t caps = bus_space_read_4(sc->sc_bst, sc->sc_bsh, SDHC_CAPABILITIES);
if ((caps & (SDHC_ADMA2_SUPP|SDHC_64BIT_SYS_BUS)) == SDHC_ADMA2_SUPP) {
- error = bus_dmatag_subregion(faa->faa_dmat, 0, 0xffffffff,
+ error = bus_dmatag_subregion(faa->faa_dmat, 0, UINT32_MAX,
&sc->sc_base.sc_dmat, BUS_DMA_WAITOK);
if (error != 0) {
aprint_error(": couldn't create DMA tag: %d\n", error);
Home |
Main Index |
Thread Index |
Old Index