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 don't try to print a bus_space_handle_t
details: https://anonhg.NetBSD.org/src/rev/a4ae2085f210
branches: trunk
changeset: 754216:a4ae2085f210
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Apr 23 19:27:35 2010 +0000
description:
don't try to print a bus_space_handle_t
now this at least compiles on sparc64
diffstat:
sys/dev/pci/bktr/bktr_os.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 966185d8de4d -r a4ae2085f210 sys/dev/pci/bktr/bktr_os.c
--- a/sys/dev/pci/bktr/bktr_os.c Fri Apr 23 19:21:08 2010 +0000
+++ b/sys/dev/pci/bktr/bktr_os.c Fri Apr 23 19:27:35 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.58 2010/03/22 22:41:59 dyoung Exp $ */
+/* $NetBSD: bktr_os.c,v 1.59 2010/04/23 19:27:35 macallan 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.58 2010/03/22 22:41:59 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.59 2010/04/23 19:27:35 macallan Exp $");
#ifdef __FreeBSD__
#include "bktr.h"
@@ -1470,8 +1470,8 @@
| PCI_MAPREG_MEM_TYPE_32BIT, 0,
&bktr->memt, &bktr->memh, NULL,
&bktr->obmemsz);
- DPR(("pci_mapreg_map: memh %x, size %x\n",
- (u_int)bktr->memh, (u_int)bktr->obmemsz));
+ DPR(("pci_mapreg_map: size %lx\n",
+ (unsigned long)bktr->obmemsz));
if (retval) {
printf("%s: couldn't map memory\n", bktr_name(bktr));
return;
Home |
Main Index |
Thread Index |
Old Index