Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use PRIxPADDR to print a DMA address. This fix a...
details: https://anonhg.NetBSD.org/src/rev/8bd69b524fad
branches: trunk
changeset: 781950:8bd69b524fad
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Oct 09 10:25:44 2012 +0000
description:
Use PRIxPADDR to print a DMA address. This fix a problem that if_wm.c
can't compile with WM_DEBUG on non-64bit platforms.
diffstat:
sys/dev/pci/if_wm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 97a623540ec1 -r 8bd69b524fad sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Tue Oct 09 08:57:36 2012 +0000
+++ b/sys/dev/pci/if_wm.c Tue Oct 09 10:25:44 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.234 2012/09/01 02:08:28 matt Exp $ */
+/* $NetBSD: if_wm.c,v 1.235 2012/10/09 10:25:44 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.234 2012/09/01 02:08:28 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.235 2012/10/09 10:25:44 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3154,7 +3154,7 @@
sc->sc_nq_txdescs[nexttx].nqtx_data.nqtxd_fields =
htole32(fields);
DPRINTF(WM_DEBUG_TX,
- ("%s: TX: adv data desc %d 0x%" PRIx64 "\n",
+ ("%s: TX: adv data desc %d 0x%" PRIxPADDR "\n",
device_xname(sc->sc_dev), nexttx,
dmamap->dm_segs[0].ds_addr));
DPRINTF(WM_DEBUG_TX,
Home |
Main Index |
Thread Index |
Old Index