Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Un-wrap a no-longer-too-long panic messag...
details: https://anonhg.NetBSD.org/src/rev/8f5e62138bbb
branches: trunk
changeset: 547140:8f5e62138bbb
user: simonb <simonb%NetBSD.org@localhost>
date: Wed May 14 10:09:49 2003 +0000
description:
Un-wrap a no-longer-too-long panic message, add some extra info to another
panic message.
diffstat:
sys/arch/mips/mips/bus_dma.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 9e19a343282c -r 8f5e62138bbb sys/arch/mips/mips/bus_dma.c
--- a/sys/arch/mips/mips/bus_dma.c Wed May 14 07:59:00 2003 +0000
+++ b/sys/arch/mips/mips/bus_dma.c Wed May 14 10:09:49 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.5 2003/04/11 06:24:59 simonb Exp $ */
+/* $NetBSD: bus_dma.c,v 1.6 2003/05/14 10:09:49 simonb Exp $ */
/*-
* Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.5 2003/04/11 06:24:59 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.6 2003/05/14 10:09:49 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -335,8 +335,7 @@
p = uio->uio_procp;
#ifdef DIAGNOSTIC
if (p == NULL)
- panic("_bus_dmamap_load_uio: "
- "USERSPACE but no proc");
+ panic("_bus_dmamap_load_uio: USERSPACE but no proc");
#endif
}
@@ -694,7 +693,7 @@
#ifdef DIAGNOSTIC
if ((u_long)kva & PGOFSET)
- panic("_bus_dmamem_unmap");
+ panic("_bus_dmamem_unmap: bad alignment on %p", kva);
#endif
/*
Home |
Main Index |
Thread Index |
Old Index