Module Name: src Committed By: macallan Date: Fri Apr 23 19:27:35 UTC 2010
Modified Files: src/sys/dev/pci/bktr: bktr_os.c Log Message: don't try to print a bus_space_handle_t now this at least compiles on sparc64 To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/bktr/bktr_os.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/bktr/bktr_os.c diff -u src/sys/dev/pci/bktr/bktr_os.c:1.58 src/sys/dev/pci/bktr/bktr_os.c:1.59 --- src/sys/dev/pci/bktr/bktr_os.c:1.58 Mon Mar 22 22:41:59 2010 +++ src/sys/dev/pci/bktr/bktr_os.c Fri Apr 23 19:27:35 2010 @@ -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;