Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 08:43:33 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 busdma_machdep.c
Message-ID:  <Pine.BSF.4.53.0411090829240.29952@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <200411090707.iA977s6F090475@repoman.freebsd.org>
References:  <200411090707.iA977s6F090475@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Nov 2004, Scott Long wrote:

> scottl      2004-11-09 07:07:54 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/i386/i386        busdma_machdep.c
>   Log:
..
>   MFC After: 1 week
>
>   Revision  Changes    Path
>   1.63      +140 -36   src/sys/i386/i386/busdma_machdep.c


diff -u -p -r1.63 busdma_machdep.c
--- busdma_machdep.c    9 Nov 2004 07:07:54 -0000       1.63
+++ busdma_machdep.c    9 Nov 2004 08:24:55 -0000
@@ -919,7 +919,7 @@ alloc_bounce_zone(bus_dma_tag_t dmat)
        bz->boundary = dmat->boundary;
        snprintf(bz->zoneid, 8, "zone%d", busdma_zonecount);
        busdma_zonecount++;
-       snprintf(bz->lowaddrid, 18, "%#jx", bz->lowaddr);
+       snprintf(bz->lowaddrid, 18, "%#jx", (uintmax_t)bz->lowaddr);
        STAILQ_INSERT_TAIL(&bounce_zone_list, bz, links);

        sysctl_ctx_init(&bz->sysctl_tree);

?

imho bz->lowaddr is either uint32_t or uint64_t depending on -DPAE

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0411090829240.29952>