diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-11-25 16:31:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-11-25 16:31:20 +0000 |
commit | ac00da29fc18a27d313244cb5624e7939006cea9 (patch) | |
tree | 9c6bb582a550f848a025a0c1295314d90de0a5fc /sys/arch | |
parent | 859c934b22c23114417b653cb20bcdd673c9134a (diff) |
Fix dmesg ugliness caused by not printing iotdb stuff.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/psycho.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index d3cd50a6d1e..da801731294 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.51 2008/08/11 21:28:53 kettenis Exp $ */ +/* $OpenBSD: iommu.c,v 1.52 2008/11/25 16:31:19 kettenis Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -211,9 +211,9 @@ iommu_init(char *name, struct iommu_state *is, int tsbsize, u_int32_t iovabase) /* * Now all the hardware's working we need to allocate a dvma map. */ - printf("dvma map %x-%x, ", is->is_dvmabase, is->is_dvmaend); + printf("dvma map %x-%x", is->is_dvmabase, is->is_dvmaend); #ifdef DEBUG - printf("iotdb %llx-%llx", + printf(", iotdb %llx-%llx", (unsigned long long)is->is_ptsb, (unsigned long long)(is->is_ptsb + size)); #endif diff --git a/sys/arch/sparc64/dev/psycho.c b/sys/arch/sparc64/dev/psycho.c index 8ec9081fb50..6a2c004696b 100644 --- a/sys/arch/sparc64/dev/psycho.c +++ b/sys/arch/sparc64/dev/psycho.c @@ -1,4 +1,4 @@ -/* $OpenBSD: psycho.c,v 1.62 2008/07/23 12:18:40 kettenis Exp $ */ +/* $OpenBSD: psycho.c,v 1.63 2008/11/25 16:31:19 kettenis Exp $ */ /* $NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp $ */ /* @@ -554,12 +554,14 @@ psycho_attach(struct device *parent, struct device *self, void *aux) sc->sc_is->is_sb[1] = &pp->pp_sb; printf("%s: ", sc->sc_dev.dv_xname); - printf("dvma map %x-%x, ", sc->sc_is->is_dvmabase, + printf("dvma map %x-%x", sc->sc_is->is_dvmabase, sc->sc_is->is_dvmaend); - printf("iotdb %llx-%llx", +#ifdef DEBUG + printf(", iotdb %llx-%llx", (unsigned long long)sc->sc_is->is_ptsb, (unsigned long long)(sc->sc_is->is_ptsb + (PAGE_SIZE << sc->sc_is->is_tsbsize))); +#endif iommu_reset(sc->sc_is); printf("\n"); } |