summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-10-04 01:55:45 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-10-04 01:55:45 +0000
commitdd03700b453e1655b92dcb942bba0375fcd60667 (patch)
tree5f5e86311f48d602db7bb59c0c917aa321b944af /sys/arch
parent98b88a9bfabf1a6571ff9f2d67d666fdc4228062 (diff)
Aasking to load an already loaded map is not a "warn and pray" kinda thing.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/iommu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c
index 1f39cc44287..fb7a1c1d3e0 100644
--- a/sys/arch/sparc64/dev/iommu.c
+++ b/sys/arch/sparc64/dev/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.19 2002/08/19 20:02:30 jason Exp $ */
+/* $OpenBSD: iommu.c,v 1.20 2002/10/04 01:55:44 jason Exp $ */
/* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */
/*
@@ -493,7 +493,7 @@ iommu_dvmamap_load(t, is, map, buf, buflen, p, flags)
if (map->dm_nsegs) {
/* Already in use?? */
#ifdef DIAGNOSTIC
- printf("iommu_dvmamap_load: map still in use\n");
+ panic("iommu_dvmamap_load: map still in use");
#endif
bus_dmamap_unload(t, map);
}
@@ -712,7 +712,7 @@ iommu_dvmamap_load_raw(t, is, map, segs, nsegs, flags, size)
if (map->dm_nsegs) {
/* Already in use?? */
#ifdef DIAGNOSTIC
- printf("iommu_dvmamap_load_raw: map still in use\n");
+ panic("iommu_dvmamap_load_raw: map still in use");
#endif
bus_dmamap_unload(t, map);
}