diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-03-26 18:13:12 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-03-26 18:13:12 +0000 |
commit | ad465cc393aeb7d90cc92f10eeabc14a3c84362b (patch) | |
tree | 30201028e1b439fec5d280881f55dbb31c04b00b /sys/arch/sparc64/dev | |
parent | e295f04da7243e007a581825ba31490befac9b76 (diff) |
Permit compiling with DEBUG; Joey Coleman <joeycoleman@acm.org>
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/pci_machdep.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index f8fd2cb801e..f14276c3ef5 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.15 2002/03/14 01:26:44 millert Exp $ */ +/* $OpenBSD: iommu.c,v 1.16 2002/03/26 18:13:11 jason Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -798,7 +798,7 @@ iommu_dvmamap_load_raw(t, is, map, segs, nsegs, flags, size) /* We can re-use this mapping */ #ifdef DEBUG if (iommudebug & 0x10) printf("reusing dva %lx prev %lx pa %lx prev %lx\n", - dvmaddr, prev_va, pa prev_pa); + dvmaddr, prev_va, pa, prev_pa); #endif dvmaddr = prev_va; } @@ -812,7 +812,7 @@ if (iommudebug & 0x10) printf("reusing dva %lx prev %lx pa %lx prev %lx\n", #ifdef DEBUG if (iommudebug & 0x10) { printf("appending offset %x pa %lx, prev %lx dva %lx prev %lx\n", - offset, pa, prev_pa,l dvmaddr, prev_va); + offset, pa, prev_pa, dvmaddr, prev_va); } #endif diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c index c18c02c5e3f..a954876e04f 100644 --- a/sys/arch/sparc64/dev/pci_machdep.c +++ b/sys/arch/sparc64/dev/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.7 2002/03/14 01:26:44 millert Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.8 2002/03/26 18:13:11 jason Exp $ */ /* $NetBSD: pci_machdep.c,v 1.22 2001/07/20 00:07:13 eeh Exp $ */ /* @@ -361,7 +361,7 @@ pci_conf_read(pc, tag, reg) } #ifdef DEBUG else DPRINTF(SPDB_CONF, ("pci_conf_read: bogus pcitag %x\n", - (int)PCITAG_OFFSET(tag)); + (int)PCITAG_OFFSET(tag))); #endif DPRINTF(SPDB_CONF, (" returning %08x\n", (u_int)val)); |