From 0b6a4ac7bb578cc17c23af5824fd9dedb4e4e288 Mon Sep 17 00:00:00 2001 From: jeremy Date: Sat, 22 Feb 1997 04:02:39 +0000 Subject: [PATCH] Make the device attach output look more like the SPARC iommu. --- sys/arch/sun3/sun3x/iommu.c | 4 ++-- sys/arch/sun3x/sun3x/iommu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/sun3/sun3x/iommu.c b/sys/arch/sun3/sun3x/iommu.c index 87aa123ee623..fa36339e0536 100644 --- a/sys/arch/sun3/sun3x/iommu.c +++ b/sys/arch/sun3/sun3x/iommu.c @@ -1,4 +1,4 @@ -/* $NetBSD: iommu.c,v 1.2 1997/02/13 07:38:21 jeremy Exp $ */ +/* $NetBSD: iommu.c,v 1.3 1997/02/22 04:02:39 jeremy Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ iommu_attach(parent, self, args) iommu_va = (iommu_pde_t *) obio_alloc(ca->ca_paddr, OBIO_IOMMU_SIZE); - printf("\n"); + printf(": range %dMB\n", IOMMU_NENT * IOMMU_PAGE_SIZE / (1024 * 1024)); } void diff --git a/sys/arch/sun3x/sun3x/iommu.c b/sys/arch/sun3x/sun3x/iommu.c index 87aa123ee623..fa36339e0536 100644 --- a/sys/arch/sun3x/sun3x/iommu.c +++ b/sys/arch/sun3x/sun3x/iommu.c @@ -1,4 +1,4 @@ -/* $NetBSD: iommu.c,v 1.2 1997/02/13 07:38:21 jeremy Exp $ */ +/* $NetBSD: iommu.c,v 1.3 1997/02/22 04:02:39 jeremy Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ iommu_attach(parent, self, args) iommu_va = (iommu_pde_t *) obio_alloc(ca->ca_paddr, OBIO_IOMMU_SIZE); - printf("\n"); + printf(": range %dMB\n", IOMMU_NENT * IOMMU_PAGE_SIZE / (1024 * 1024)); } void