summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/dev/if_ie.c6
-rw-r--r--sys/arch/sun3/dev/obio.c4
-rw-r--r--sys/arch/sun3/dev/si.c6
-rw-r--r--sys/arch/sun3/dev/xy.c4
-rw-r--r--sys/arch/sun3/dev/zs.c4
-rw-r--r--sys/arch/sun3/stand/libsa/netif_sun.c8
-rw-r--r--sys/arch/sun3/stand/libsa/promdev.c4
-rw-r--r--sys/arch/sun3/sun3/dvma.c6
-rw-r--r--sys/arch/sun3/sun3/isr.c6
-rw-r--r--sys/arch/sun3/sun3/pmap.c10
10 files changed, 29 insertions, 29 deletions
diff --git a/sys/arch/sun3/dev/if_ie.c b/sys/arch/sun3/dev/if_ie.c
index 0bbe7729481..34651d5d4e8 100644
--- a/sys/arch/sun3/dev/if_ie.c
+++ b/sys/arch/sun3/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.9 1997/01/16 04:03:46 kstailey Exp $ */
+/* $OpenBSD: if_ie.c,v 1.10 1999/01/11 05:12:01 millert Exp $ */
/* $NetBSD: if_ie.c,v 1.15 1996/10/30 00:24:33 gwr Exp $ */
/*-
@@ -1174,7 +1174,7 @@ iereset(sc)
#ifdef notdef
if (!check_ie_present(sc, sc->sc_maddr, sc->sc_msize))
- panic("ie disappeared!\n");
+ panic("ie disappeared!");
#endif
sc->sc_arpcom.ac_if.if_flags |= IFF_UP;
@@ -1345,7 +1345,7 @@ setup_bufs(sc)
sc->nframes = n / r;
if (sc->nframes <= 0)
- panic("ie: bogus buffer calc\n");
+ panic("ie: bogus buffer calc");
if (sc->nframes > MXFRAMES)
sc->nframes = MXFRAMES;
diff --git a/sys/arch/sun3/dev/obio.c b/sys/arch/sun3/dev/obio.c
index a6b6bc4120b..5160324edf3 100644
--- a/sys/arch/sun3/dev/obio.c
+++ b/sys/arch/sun3/dev/obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: obio.c,v 1.6 1997/01/16 04:03:51 kstailey Exp $ */
+/* $OpenBSD: obio.c,v 1.7 1999/01/11 05:12:02 millert Exp $ */
/* $NetBSD: obio.c,v 1.23 1996/11/20 18:56:56 gwr Exp $ */
/*-
@@ -144,7 +144,7 @@ obio_submatch(parent, vcf, aux)
/* Now call the match function of the potential child. */
submatch = cf->cf_attach->ca_match;
if (submatch == NULL)
- panic("obio_submatch: no match function for: %s\n",
+ panic("obio_submatch: no match function for: %s",
cf->cf_driver->cd_name);
return ((*submatch)(parent, vcf, aux));
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c
index 341ba7d5a0e..9b32b6ae59c 100644
--- a/sys/arch/sun3/dev/si.c
+++ b/sys/arch/sun3/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.8 1997/01/16 19:42:49 kstailey Exp $ */
+/* $OpenBSD: si.c,v 1.9 1999/01/11 05:12:02 millert Exp $ */
/* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */
/*-
@@ -205,7 +205,7 @@ si_attach(sc)
sc->sc_dma = (struct si_dma_handle *)
malloc(i, M_DEVBUF, M_WAITOK);
if (sc->sc_dma == NULL)
- panic("si: dvma_malloc failed\n");
+ panic("si: dvma_malloc failed");
for (i = 0; i < SCI_OPENINGS; i++)
sc->sc_dma[i].dh_flags = 0;
@@ -356,7 +356,7 @@ si_dma_alloc(ncr_sc)
/* Make sure our caller checked sc_min_dma_len. */
if (xlen < MIN_DMA_LEN)
- panic("si_dma_alloc: xlen=0x%x\n", xlen);
+ panic("si_dma_alloc: xlen=0x%x", xlen);
/*
* Never attempt single transfers of more than 63k, because
diff --git a/sys/arch/sun3/dev/xy.c b/sys/arch/sun3/dev/xy.c
index 47cf8ea0b53..b1082d7e3fb 100644
--- a/sys/arch/sun3/dev/xy.c
+++ b/sys/arch/sun3/dev/xy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xy.c,v 1.11 1998/10/03 21:18:59 millert Exp $ */
+/* $OpenBSD: xy.c,v 1.12 1999/01/11 05:12:02 millert Exp $ */
/* $NetBSD: xy.c,v 1.11 1996/10/13 03:47:40 christos Exp $ */
/*
@@ -1371,7 +1371,7 @@ xyc_submit_iorq(xycsc, iorq, type)
if (iopb == NULL) { /* nothing doing? */
if (type == XY_SUB_NORM || type == XY_SUB_NOQ)
return(XY_ERR_AOK);
- panic("xyc_submit_iorq: xyc_chain failed!\n");
+ panic("xyc_submit_iorq: xyc_chain failed!");
}
iopbaddr = dvma_kvtopa((long) iopb, BUS_VME16);
diff --git a/sys/arch/sun3/dev/zs.c b/sys/arch/sun3/dev/zs.c
index f8fa769c3cd..66f8a2fb978 100644
--- a/sys/arch/sun3/dev/zs.c
+++ b/sys/arch/sun3/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.8 1997/06/23 13:40:47 kstailey Exp $ */
+/* $OpenBSD: zs.c,v 1.9 1999/01/11 05:12:03 millert Exp $ */
/* $NetBSD: zs.c,v 1.42 1996/11/20 18:57:03 gwr Exp $ */
/*-
@@ -277,7 +277,7 @@ zsc_attach(parent, self, aux)
/* Use the mapping setup by the Sun PROM. */
if (zsaddr[zsc_unit] == NULL)
- panic("zs_attach: zs%d not mapped\n", zsc_unit);
+ panic("zs_attach: zs%d not mapped", zsc_unit);
/*
* Initialize software state for each channel.
diff --git a/sys/arch/sun3/stand/libsa/netif_sun.c b/sys/arch/sun3/stand/libsa/netif_sun.c
index a72d55e9428..bc7a5993cc7 100644
--- a/sys/arch/sun3/stand/libsa/netif_sun.c
+++ b/sys/arch/sun3/stand/libsa/netif_sun.c
@@ -164,7 +164,7 @@ netif_init(aux)
}
if ((dd->rbuf == NULL) ||
(dd->tbuf == NULL))
- panic("netif_init: malloc failed\n");
+ panic("netif_init: malloc failed");
#ifdef NETIF_DEBUG
if (debug)
@@ -339,7 +339,7 @@ netif_put(desc, pkt, len)
#ifdef PARANOID
if (sif == NULL)
- panic("netif_put: no saif ptr\n");
+ panic("netif_put: no saif ptr");
#endif
/*
@@ -349,7 +349,7 @@ netif_put(desc, pkt, len)
* very much data anyway, so the copy is fine.
*/
if (slen > dd->tbuf_len)
- panic("netif_put: slen=%d\n", slen);
+ panic("netif_put: slen=%d", slen);
bcopy(pkt, dd->tbuf, slen);
if (slen < 60) {
@@ -429,7 +429,7 @@ break2:
/* If we went beyond our buffer, were dead! */
if (rlen > dd->rbuf_len)
- panic("netif_get: rlen=%d\n", rlen);
+ panic("netif_get: rlen=%d", rlen);
/* The caller's buffer may be smaller... */
if (rlen > maxlen)
diff --git a/sys/arch/sun3/stand/libsa/promdev.c b/sys/arch/sun3/stand/libsa/promdev.c
index 5ce7ee01fb9..f3982b8aaf3 100644
--- a/sys/arch/sun3/stand/libsa/promdev.c
+++ b/sys/arch/sun3/stand/libsa/promdev.c
@@ -200,12 +200,12 @@ prom_mapin(physaddr, length, maptype)
int i, pa, pte, va;
if (length > (4*NBPG))
- panic("prom_mapin: length=%d\n", length);
+ panic("prom_mapin: length=%d", length);
for (i = 0; i < prom_mapinfo_cnt; i++)
if (prom_mapinfo[i].maptype == maptype)
goto found;
- panic("prom_mapin: invalid maptype %d\n", maptype);
+ panic("prom_mapin: invalid maptype %d", maptype);
found:
pte = prom_mapinfo[i].pgtype;
diff --git a/sys/arch/sun3/sun3/dvma.c b/sys/arch/sun3/sun3/dvma.c
index 8f7f8301e83..eefbcf0ef9a 100644
--- a/sys/arch/sun3/sun3/dvma.c
+++ b/sys/arch/sun3/sun3/dvma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvma.c,v 1.7 1997/09/07 14:05:20 kstailey Exp $ */
+/* $OpenBSD: dvma.c,v 1.8 1999/01/11 05:12:05 millert Exp $ */
/* $NetBSD: dvma.c,v 1.5 1996/11/20 18:57:29 gwr Exp $ */
/*-
@@ -152,7 +152,7 @@ dvma_kvtopa(kva, bustype)
long mask;
if (kva < DVMA_SPACE_START || kva >= DVMA_SPACE_END)
- panic("dvma_kvtopa: bad dmva addr=0x%x\n", kva);
+ panic("dvma_kvtopa: bad dmva addr=0x%x", kva);
switch (bustype) {
case BUS_OBIO:
@@ -163,7 +163,7 @@ dvma_kvtopa(kva, bustype)
mask = DVMA_VME_SLAVE_MASK;
break;
default:
- panic("dvma_kvtopa: bad bus type %d\n", bustype);
+ panic("dvma_kvtopa: bad bus type %d", bustype);
}
return(kva & mask);
diff --git a/sys/arch/sun3/sun3/isr.c b/sys/arch/sun3/sun3/isr.c
index 15f7256006a..d6d4419f710 100644
--- a/sys/arch/sun3/sun3/isr.c
+++ b/sys/arch/sun3/sun3/isr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isr.c,v 1.7 1997/07/23 06:58:30 denny Exp $ */
+/* $OpenBSD: isr.c,v 1.8 1999/01/11 05:12:06 millert Exp $ */
/* $NetBSD: isr.c,v 1.25 1996/11/20 18:57:32 gwr Exp $ */
/*-
@@ -292,7 +292,7 @@ set_vector_entry(entry, handler)
void (*handler) __P((void));
{
if ((entry <0) || (entry >= NVECTORS))
- panic("set_vector_entry: setting vector too high or low\n");
+ panic("set_vector_entry: setting vector too high or low");
vector_table[entry] = handler;
}
@@ -301,6 +301,6 @@ get_vector_entry(entry)
int entry;
{
if ((entry <0) || (entry >= NVECTORS))
- panic("get_vector_entry: setting vector too high or low\n");
+ panic("get_vector_entry: setting vector too high or low");
return (unsigned int) vector_table[entry];
}
diff --git a/sys/arch/sun3/sun3/pmap.c b/sys/arch/sun3/sun3/pmap.c
index 678d433ee88..9bb14dbd8e1 100644
--- a/sys/arch/sun3/sun3/pmap.c
+++ b/sys/arch/sun3/sun3/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.16 1998/03/04 10:58:18 niklas Exp $ */
+/* $OpenBSD: pmap.c,v 1.17 1999/01/11 05:12:06 millert Exp $ */
/* $NetBSD: pmap.c,v 1.64 1996/11/20 18:57:35 gwr Exp $ */
/*-
@@ -1026,7 +1026,7 @@ pv_changepte(head, set_bits, clear_bits)
#ifdef DIAGNOSTIC
/* This function should only clear these bits: */
if (clear_bits & ~(PG_WRITE | PG_NC | PG_REF | PG_MOD))
- panic("pv_changepte: clear=0x%x\n");
+ panic("pv_changepte: clear=0x%x");
#endif
s = splpmap();
@@ -1086,7 +1086,7 @@ pv_changepte(head, set_bits, clear_bits)
* XXX - Make sure pv_unlink() was done...
*/
if ((pte & PG_VALID) == 0)
- panic("pv_changepte: not PG_VALID at va=0x%x\n", va);
+ panic("pv_changepte: not PG_VALID at va=0x%x", va);
#endif
/* Get these while it's easy. */
if (pte & PG_MODREF) {
@@ -1190,7 +1190,7 @@ pv_syncflags(head)
* XXX - Make sure pv_unlink() was done...
*/
if ((pte & PG_VALID) == 0)
- panic("pv_syncflags: not PG_VALID at va=0x%x\n", va);
+ panic("pv_syncflags: not PG_VALID at va=0x%x", va);
#endif
/* OK, do what we came here for... */
if (pte & PG_MODREF) {
@@ -2782,7 +2782,7 @@ pmap_extract(pmap, va)
pa = PG_PA(pte);
#ifdef DIAGNOSTIC
if (pte & PG_TYPE) {
- panic("pmap_extract: not main mem, va=0x%x\n", va);
+ panic("pmap_extract: not main mem, va=0x%x", va);
}
#endif
return (pa);