summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-06-25 21:33:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-06-25 21:33:22 +0000
commitf583c4a4988b6b47fae0213722d1b754da1a4b42 (patch)
treeb731741fccf5c1d2d685d2c08e58891ec27a8b6b /sys/arch/alpha
parent77fdf164ce21db35a2244d823037a3841518c8ff (diff)
No \n at the end of a panic() message... I thought all occurences had been
squashed already.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/api_up1000.c4
-rw-r--r--sys/arch/alpha/alpha/cpuconf.c4
-rw-r--r--sys/arch/alpha/alpha/dec_2100_a50.c4
-rw-r--r--sys/arch/alpha/alpha/dec_3000_300.c4
-rw-r--r--sys/arch/alpha/alpha/dec_3000_500.c4
-rw-r--r--sys/arch/alpha/alpha/dec_550.c4
-rw-r--r--sys/arch/alpha/alpha/dec_6600.c4
-rw-r--r--sys/arch/alpha/alpha/dec_axppci_33.c4
-rw-r--r--sys/arch/alpha/alpha/dec_eb164.c4
-rw-r--r--sys/arch/alpha/alpha/dec_eb64plus.c4
-rw-r--r--sys/arch/alpha/alpha/dec_kn20aa.c4
-rw-r--r--sys/arch/alpha/alpha/interrupt.c4
-rw-r--r--sys/arch/alpha/alpha/pmap.c4
-rw-r--r--sys/arch/alpha/dev/sgmap_common.c4
-rw-r--r--sys/arch/alpha/isa/isadma_bounce.c6
-rw-r--r--sys/arch/alpha/isa/isafcns_jensen.c4
-rw-r--r--sys/arch/alpha/pci/pci_550.c14
-rw-r--r--sys/arch/alpha/pci/pci_6600.c8
-rw-r--r--sys/arch/alpha/pci/pci_eb64plus.c12
-rw-r--r--sys/arch/alpha/pci/sio_pic.c6
20 files changed, 53 insertions, 53 deletions
diff --git a/sys/arch/alpha/alpha/api_up1000.c b/sys/arch/alpha/alpha/api_up1000.c
index d56195ffe75..ca5538ba3a6 100644
--- a/sys/arch/alpha/alpha/api_up1000.c
+++ b/sys/arch/alpha/alpha/api_up1000.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: api_up1000.c,v 1.5 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: api_up1000.c,v 1.6 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: api_up1000.c,v 1.4 2000/06/20 03:48:53 matt Exp $ */
/*
@@ -149,7 +149,7 @@ api_up1000_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/cpuconf.c b/sys/arch/alpha/alpha/cpuconf.c
index 040b04d4985..80fb7380745 100644
--- a/sys/arch/alpha/alpha/cpuconf.c
+++ b/sys/arch/alpha/alpha/cpuconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpuconf.c,v 1.7 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: cpuconf.c,v 1.8 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: cpuconf.c,v 1.27 2000/06/26 02:42:04 enami Exp $ */
/*-
@@ -197,7 +197,7 @@ platform_not_configured()
printf("Please build a kernel with \"options %s\" and reboot.\n",
c->option);
printf("\n");
- panic("platform not configured\n");
+ panic("platform not configured");
}
void
diff --git a/sys/arch/alpha/alpha/dec_2100_a50.c b/sys/arch/alpha/alpha/dec_2100_a50.c
index 369ecec0dad..4c4cfcb79ad 100644
--- a/sys/arch/alpha/alpha/dec_2100_a50.c
+++ b/sys/arch/alpha/alpha/dec_2100_a50.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_2100_a50.c,v 1.15 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_2100_a50.c,v 1.16 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_2100_a50.c,v 1.43 2000/05/22 20:13:31 thorpej Exp $ */
/*
@@ -158,7 +158,7 @@ dec_2100_a50_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_3000_300.c b/sys/arch/alpha/alpha/dec_3000_300.c
index b600615230d..03ea5243398 100644
--- a/sys/arch/alpha/alpha/dec_3000_300.c
+++ b/sys/arch/alpha/alpha/dec_3000_300.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_3000_300.c,v 1.10 2002/05/02 22:56:06 miod Exp $ */
+/* $OpenBSD: dec_3000_300.c,v 1.11 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_3000_300.c,v 1.30 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -159,7 +159,7 @@ badconsole:
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %lu\n",
+ panic("consinit: unknown console type %lu",
ctb->ctb_term_type);
}
diff --git a/sys/arch/alpha/alpha/dec_3000_500.c b/sys/arch/alpha/alpha/dec_3000_500.c
index 210dcb03e8e..3a614b64f8f 100644
--- a/sys/arch/alpha/alpha/dec_3000_500.c
+++ b/sys/arch/alpha/alpha/dec_3000_500.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_3000_500.c,v 1.10 2002/05/02 22:56:06 miod Exp $ */
+/* $OpenBSD: dec_3000_500.c,v 1.11 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_3000_500.c,v 1.29 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -178,7 +178,7 @@ badconsole:
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %lu\n",
+ panic("consinit: unknown console type %lu",
ctb->ctb_term_type);
}
diff --git a/sys/arch/alpha/alpha/dec_550.c b/sys/arch/alpha/alpha/dec_550.c
index 817c69ef29a..4ad6dd1824b 100644
--- a/sys/arch/alpha/alpha/dec_550.c
+++ b/sys/arch/alpha/alpha/dec_550.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_550.c,v 1.7 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_550.c,v 1.8 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_550.c,v 1.10 2000/06/20 03:48:53 matt Exp $ */
/*
@@ -150,7 +150,7 @@ dec_550_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_6600.c b/sys/arch/alpha/alpha/dec_6600.c
index 22a433b3e21..3ca4b7a2df4 100644
--- a/sys/arch/alpha/alpha/dec_6600.c
+++ b/sys/arch/alpha/alpha/dec_6600.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_6600.c,v 1.5 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_6600.c,v 1.6 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_6600.c,v 1.7 2000/06/20 03:48:54 matt Exp $ */
/*
@@ -152,7 +152,7 @@ dec_6600_cons_init()
" hose = %ld\n", ctb->ctb_term_type, ctbslot,
CTB_TURBOSLOT_HOSE(ctbslot));
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_axppci_33.c b/sys/arch/alpha/alpha/dec_axppci_33.c
index 71cc1aa20dc..0b8845b9d29 100644
--- a/sys/arch/alpha/alpha/dec_axppci_33.c
+++ b/sys/arch/alpha/alpha/dec_axppci_33.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_axppci_33.c,v 1.16 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_axppci_33.c,v 1.17 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_axppci_33.c,v 1.44 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -192,7 +192,7 @@ dec_axppci_33_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_eb164.c b/sys/arch/alpha/alpha/dec_eb164.c
index 6220f4af8d7..c17ea6afcf2 100644
--- a/sys/arch/alpha/alpha/dec_eb164.c
+++ b/sys/arch/alpha/alpha/dec_eb164.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_eb164.c,v 1.10 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_eb164.c,v 1.11 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_eb164.c,v 1.33 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -143,7 +143,7 @@ dec_eb164_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_eb64plus.c b/sys/arch/alpha/alpha/dec_eb64plus.c
index d29f1d6f579..ef8eca63319 100644
--- a/sys/arch/alpha/alpha/dec_eb64plus.c
+++ b/sys/arch/alpha/alpha/dec_eb64plus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_eb64plus.c,v 1.2 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_eb64plus.c,v 1.3 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_eb64plus.c,v 1.25 2001/06/05 04:53:11 thorpej Exp $ */
/*
@@ -151,7 +151,7 @@ dec_eb64plus_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/dec_kn20aa.c b/sys/arch/alpha/alpha/dec_kn20aa.c
index 986790957f0..80ec7727f6a 100644
--- a/sys/arch/alpha/alpha/dec_kn20aa.c
+++ b/sys/arch/alpha/alpha/dec_kn20aa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_kn20aa.c,v 1.14 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: dec_kn20aa.c,v 1.15 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: dec_kn20aa.c,v 1.42 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -149,7 +149,7 @@ dec_kn20aa_cons_init()
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
- panic("consinit: unknown console type %ld\n",
+ panic("consinit: unknown console type %ld",
ctb->ctb_term_type);
}
}
diff --git a/sys/arch/alpha/alpha/interrupt.c b/sys/arch/alpha/alpha/interrupt.c
index 0a399fb6ba2..ca8b8200a1c 100644
--- a/sys/arch/alpha/alpha/interrupt.c
+++ b/sys/arch/alpha/alpha/interrupt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interrupt.c,v 1.13 2001/11/06 19:53:13 miod Exp $ */
+/* $OpenBSD: interrupt.c,v 1.14 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: interrupt.c,v 1.46 2000/06/03 20:47:36 thorpej Exp $ */
/*-
@@ -342,7 +342,7 @@ badaddr_read(void *addr, size_t size, void *rptr)
break;
default:
- panic("badaddr: invalid size (%ld)\n", size);
+ panic("badaddr: invalid size (%ld)", size);
}
alpha_mb();
alpha_mb(); /* MAGIC ON SOME SYSTEMS */
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c
index 043179c55f9..2beed186321 100644
--- a/sys/arch/alpha/alpha/pmap.c
+++ b/sys/arch/alpha/alpha/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.33 2002/01/23 00:39:46 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.34 2002/06/25 21:33:19 miod Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@ -570,7 +570,7 @@ int pmap_physpage_delref(void *);
if (curproc != NULL && curproc->p_vmspace != NULL && \
(pm) != pmap_kernel() && \
(isactive_ ^ ((pm) == curproc->p_vmspace->vm_map.pmap))) \
- panic("PMAP_ISACTIVE, isa: %d pm: %p curpm:%p\n", \
+ panic("PMAP_ISACTIVE, isa: %d pm: %p curpm:%p", \
isactive_, (pm), curproc->p_vmspace->vm_map.pmap); \
(isactive_); \
})
diff --git a/sys/arch/alpha/dev/sgmap_common.c b/sys/arch/alpha/dev/sgmap_common.c
index 0e3015e258d..76d0f306e4e 100644
--- a/sys/arch/alpha/dev/sgmap_common.c
+++ b/sys/arch/alpha/dev/sgmap_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgmap_common.c,v 1.4 2002/03/20 22:48:58 art Exp $ */
+/* $OpenBSD: sgmap_common.c,v 1.5 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: sgmap_common.c,v 1.13 2000/06/29 09:02:57 mrg Exp $ */
/*-
@@ -105,7 +105,7 @@ alpha_sgmap_init(t, sgmap, name, wbase, sgvabase, sgvasize, ptesize, ptva,
minptalign = ptsize;
if (bus_dmamem_alloc(t, ptsize, minptalign, 0, &seg, 1, &rseg,
BUS_DMA_NOWAIT)) {
- panic("unable to allocate page table for sgmap `%s'\n",
+ panic("unable to allocate page table for sgmap `%s'",
name);
goto die;
}
diff --git a/sys/arch/alpha/isa/isadma_bounce.c b/sys/arch/alpha/isa/isadma_bounce.c
index 50da003a4bd..e8daf4c18f5 100644
--- a/sys/arch/alpha/isa/isadma_bounce.c
+++ b/sys/arch/alpha/isa/isadma_bounce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isadma_bounce.c,v 1.4 2002/03/14 01:26:27 millert Exp $ */
+/* $OpenBSD: isadma_bounce.c,v 1.5 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: isadma_bounce.c,v 1.3 2000/06/29 09:02:57 mrg Exp $ */
/*-
@@ -508,8 +508,8 @@ isadma_bounce_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map, bus_addr_t offset,
break;
default:
- printf("unknown buffer type %d\n", cookie->id_buftype);
- panic("isadma_bounce_dmamap_sync");
+ panic("isadma_bounce_dmamap_sync: unknown buffer type %d",
+ cookie->id_buftype);
}
/* Drain the write buffer. */
diff --git a/sys/arch/alpha/isa/isafcns_jensen.c b/sys/arch/alpha/isa/isafcns_jensen.c
index 58efaef8d86..3b0971d7375 100644
--- a/sys/arch/alpha/isa/isafcns_jensen.c
+++ b/sys/arch/alpha/isa/isafcns_jensen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isafcns_jensen.c,v 1.6 2002/03/14 01:26:27 millert Exp $ */
+/* $OpenBSD: isafcns_jensen.c,v 1.7 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: isafcns_jensen.c,v 1.4 1996/10/13 02:59:54 christos Exp $ */
/*
@@ -88,7 +88,7 @@ jensen_inw(ioaddr)
rval = ((val) >> (8 * offset)) & 0xffff;
rval = val & 0xffff;
-panic("inw(0x%x) => 0x%x @ %p => 0x%x", ioaddr, val, port, rval);
+printf("inw(0x%x) => 0x%x @ %p => 0x%x", ioaddr, val, port, rval);
return rval;
}
diff --git a/sys/arch/alpha/pci/pci_550.c b/sys/arch/alpha/pci/pci_550.c
index 2065d7aacdc..e2814c0a63f 100644
--- a/sys/arch/alpha/pci/pci_550.c
+++ b/sys/arch/alpha/pci/pci_550.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_550.c,v 1.9 2002/03/14 03:15:50 millert Exp $ */
+/* $OpenBSD: pci_550.c,v 1.10 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: pci_550.c,v 1.18 2000/06/29 08:58:48 mrg Exp $ */
/*-
@@ -261,7 +261,7 @@ dec_550_intr_map(ccv, bustag, buspin, line, ihp)
#endif
if (DEC_550_LINE_IS_ISA(line) == 0 && line >= DEC_550_MAX_IRQ)
- panic("dec_550_intr_map: dec 550 irq too large (%d)\n",
+ panic("dec_550_intr_map: dec 550 irq too large (%d)",
line);
*ihp = line;
@@ -285,7 +285,7 @@ dec_550_intr_string(ccv, ih)
#endif
if (ih >= DEC_550_MAX_IRQ)
- panic("dec_550_intr_string: bogus 550 IRQ 0x%lx\n", ih);
+ panic("dec_550_intr_string: bogus 550 IRQ 0x%lx", ih);
sprintf(irqstr, "dec 550 irq %ld", ih);
return (irqstr);
}
@@ -320,7 +320,7 @@ dec_550_intr_evcnt(ccv, ih)
#endif
if (ih >= DEC_550_MAX_IRQ)
- panic("dec_550_intr_evcnt: bogus 550 IRQ 0x%lx\n", ih);
+ panic("dec_550_intr_evcnt: bogus 550 IRQ 0x%lx", ih);
return (alpha_shared_intr_evcnt(dec_550_pci_intr, ih));
}
@@ -347,7 +347,7 @@ dec_550_intr_establish(ccv, ih, level, func, arg, name)
#endif
if (ih >= DEC_550_MAX_IRQ)
- panic("dec_550_intr_establish: bogus dec 550 IRQ 0x%lx\n", ih);
+ panic("dec_550_intr_establish: bogus dec 550 IRQ 0x%lx", ih);
cookie = alpha_shared_intr_establish(dec_550_pci_intr, ih, IST_LEVEL,
level, func, arg, name);
@@ -440,7 +440,7 @@ dec_550_iointr(framep, vec)
irq = ((vec - 0x900) >> 4);
if (irq >= DEC_550_MAX_IRQ)
- panic("550_iointr: vec 0x%lx out of range\n", vec);
+ panic("550_iointr: vec 0x%lx out of range", vec);
if (!alpha_shared_intr_dispatch(dec_550_pci_intr, irq)) {
alpha_shared_intr_stray(dec_550_pci_intr, irq,
@@ -456,7 +456,7 @@ dec_550_iointr(framep, vec)
return;
}
#endif
- panic("dec_550_iointr: weird vec 0x%lx\n", vec);
+ panic("dec_550_iointr: weird vec 0x%lx", vec);
}
void
diff --git a/sys/arch/alpha/pci/pci_6600.c b/sys/arch/alpha/pci/pci_6600.c
index bebcd2eb766..f98f7cb7079 100644
--- a/sys/arch/alpha/pci/pci_6600.c
+++ b/sys/arch/alpha/pci/pci_6600.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_6600.c,v 1.9 2002/03/14 03:15:50 millert Exp $ */
+/* $OpenBSD: pci_6600.c,v 1.10 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: pci_6600.c,v 1.5 2000/06/06 00:50:15 thorpej Exp $ */
/*-
@@ -186,7 +186,7 @@ dec_6600_intr_map(acv, bustag, buspin, line, ihp)
#endif
if (DEC_6600_LINE_IS_ISA(line) == 0 && line >= PCI_NIRQ)
- panic("dec_6600_intr_map: dec 6600 irq too large (%d)\n",
+ panic("dec_6600_intr_map: dec 6600 irq too large (%d)",
line);
*ihp = line;
@@ -262,7 +262,7 @@ dec_6600_intr_establish(acv, ih, level, func, arg, name)
#endif
if (ih >= PCI_NIRQ)
- panic("dec_6600_intr_establish: bogus dec 6600 IRQ 0x%lx\n",
+ panic("dec_6600_intr_establish: bogus dec 6600 IRQ 0x%lx",
ih);
cookie = alpha_shared_intr_establish(dec_6600_pci_intr, ih, IST_LEVEL,
@@ -333,7 +333,7 @@ dec_6600_iointr(framep, vec)
return;
}
#endif
- panic("iointr: weird vec 0x%lx\n", vec);
+ panic("iointr: weird vec 0x%lx", vec);
}
void
diff --git a/sys/arch/alpha/pci/pci_eb64plus.c b/sys/arch/alpha/pci/pci_eb64plus.c
index f342016fba1..c90d83b3ec8 100644
--- a/sys/arch/alpha/pci/pci_eb64plus.c
+++ b/sys/arch/alpha/pci/pci_eb64plus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_eb64plus.c,v 1.3 2002/03/14 03:15:50 millert Exp $ */
+/* $OpenBSD: pci_eb64plus.c,v 1.4 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: pci_eb64plus.c,v 1.10 2001/07/27 00:25:20 thorpej Exp $ */
/*-
@@ -180,7 +180,7 @@ dec_eb64plus_intr_map(acv, bustag, buspin, line, ihp)
}
if (line >= EB64PLUS_MAX_IRQ)
- panic("dec_eb64plus_intr_map: eb64+ irq too large (%d)\n",
+ panic("dec_eb64plus_intr_map: eb64+ irq too large (%d)",
line);
*ihp = line;
@@ -195,7 +195,7 @@ dec_eb64plus_intr_string(acv, ih)
static char irqstr[15]; /* 11 + 2 + NULL + sanity */
if (ih > EB64PLUS_MAX_IRQ)
- panic("dec_eb64plus_intr_string: bogus eb64+ IRQ 0x%lx\n", ih);
+ panic("dec_eb64plus_intr_string: bogus eb64+ IRQ 0x%lx", ih);
sprintf(irqstr, "eb64+ irq %ld", ih);
return (irqstr);
}
@@ -212,7 +212,7 @@ dec_eb64plus_intr_establish(acv, ih, level, func, arg, name)
void *cookie;
if (ih > EB64PLUS_MAX_IRQ)
- panic("dec_eb64plus_intr_establish: bogus eb64+ IRQ 0x%lx\n",
+ panic("dec_eb64plus_intr_establish: bogus eb64+ IRQ 0x%lx",
ih);
cookie = alpha_shared_intr_establish(eb64plus_pci_intr, ih, IST_LEVEL,
@@ -254,7 +254,7 @@ eb64plus_iointr(framep, vec)
if (vec >= 0x900) {
if (vec >= 0x900 + (EB64PLUS_MAX_IRQ << 4))
- panic("eb64plus_iointr: vec 0x%lx out of range\n", vec);
+ panic("eb64plus_iointr: vec 0x%lx out of range", vec);
irq = (vec - 0x900) >> 4;
if (!alpha_shared_intr_dispatch(eb64plus_pci_intr, irq)) {
@@ -271,7 +271,7 @@ eb64plus_iointr(framep, vec)
return;
}
#endif
- panic("eb64plus_iointr: weird vec 0x%lx\n", vec);
+ panic("eb64plus_iointr: weird vec 0x%lx", vec);
}
#if 0 /* THIS DOES NOT WORK! see pci_eb64plus_intr.S. */
diff --git a/sys/arch/alpha/pci/sio_pic.c b/sys/arch/alpha/pci/sio_pic.c
index f62441381a7..a130ab719b3 100644
--- a/sys/arch/alpha/pci/sio_pic.c
+++ b/sys/arch/alpha/pci/sio_pic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio_pic.c,v 1.20 2002/03/14 01:26:27 millert Exp $ */
+/* $OpenBSD: sio_pic.c,v 1.21 2002/06/25 21:33:21 miod Exp $ */
/* $NetBSD: sio_pic.c,v 1.28 2000/06/06 03:10:13 thorpej Exp $ */
/*-
@@ -439,7 +439,7 @@ sio_intr_string(v, irq)
static char irqstr[12]; /* 8 + 2 + NULL + sanity */
if (irq == 0 || irq >= ICU_LEN || irq == 2)
- panic("sio_intr_string: bogus isa irq 0x%x\n", irq);
+ panic("sio_intr_string: bogus isa irq 0x%x", irq);
sprintf(irqstr, "isa irq %d", irq);
return (irqstr);
@@ -461,7 +461,7 @@ sio_intr_evcnt(v, irq)
{
if (irq == 0 || irq >= ICU_LEN || irq == 2)
- panic("sio_intr_evcnt: bogus isa irq 0x%x\n", irq);
+ panic("sio_intr_evcnt: bogus isa irq 0x%x", irq);
return (alpha_shared_intr_evcnt(sio_intr, irq));
}