Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/bktr MI code must not printf() a bus_space_tag_t...
details: https://anonhg.NetBSD.org/src/rev/0f88340a8350
branches: trunk
changeset: 753324:0f88340a8350
user: dyoung <dyoung%NetBSD.org@localhost>
date: Mon Mar 22 22:41:59 2010 +0000
description:
MI code must not printf() a bus_space_tag_t, so don't do that.
diffstat:
sys/dev/pci/bktr/bktr_os.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 52f8a3581276 -r 0f88340a8350 sys/dev/pci/bktr/bktr_os.c
--- a/sys/dev/pci/bktr/bktr_os.c Mon Mar 22 22:39:48 2010 +0000
+++ b/sys/dev/pci/bktr/bktr_os.c Mon Mar 22 22:41:59 2010 +0000
@@ -1,6 +1,6 @@
/* $SourceForge: bktr_os.c,v 1.5 2003/03/11 23:11:25 thomasklausner Exp $ */
-/* $NetBSD: bktr_os.c,v 1.57 2009/05/06 10:34:33 cegger Exp $ */
+/* $NetBSD: bktr_os.c,v 1.58 2010/03/22 22:41:59 dyoung Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp$ */
/*
@@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.57 2009/05/06 10:34:33 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.58 2010/03/22 22:41:59 dyoung Exp $");
#ifdef __FreeBSD__
#include "bktr.h"
@@ -1470,9 +1470,8 @@
| PCI_MAPREG_MEM_TYPE_32BIT, 0,
&bktr->memt, &bktr->memh, NULL,
&bktr->obmemsz);
- DPR(("pci_mapreg_map: memt %lx, memh %x, size %x\n",
- (unsigned long)bktr->memt, (u_int)bktr->memh,
- (u_int)bktr->obmemsz));
+ DPR(("pci_mapreg_map: memh %x, size %x\n",
+ (u_int)bktr->memh, (u_int)bktr->obmemsz));
if (retval) {
printf("%s: couldn't map memory\n", bktr_name(bktr));
return;
Home |
Main Index |
Thread Index |
Old Index