diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-03-29 21:53:54 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-03-29 21:53:54 +0000 |
commit | 69c5b21cf2da9c2ff6a2d3adf1f48f811feac372 (patch) | |
tree | 599868694b84d6aa6c93806fb08f3921218dba10 /sys/arch/i386 | |
parent | e8880d029cebac8827fe0228bf64b8a2ba3ad456 (diff) |
make various strings ("can't map mem space" and similar) more consistent
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/esm.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/isa/ahc_isa.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/pci/gscpcib.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/i386/esm.c b/sys/arch/i386/i386/esm.c index a8baa8e4b49..e2c912556c5 100644 --- a/sys/arch/i386/i386/esm.c +++ b/sys/arch/i386/i386/esm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esm.c,v 1.48 2008/09/10 14:01:22 blambert Exp $ */ +/* $OpenBSD: esm.c,v 1.49 2009/03/29 21:53:52 sthen Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -230,7 +230,7 @@ esm_attach(struct device *parent, struct device *self, void *aux) TAILQ_INIT(&sc->sc_sensors); if (bus_space_map(sc->sc_iot, ESM2_BASE_PORT, 8, 0, &sc->sc_ioh) != 0) { - printf(": unable to map memory\n"); + printf(": can't map mem space\n"); return; } diff --git a/sys/arch/i386/isa/ahc_isa.c b/sys/arch/i386/isa/ahc_isa.c index 64ebbf2e258..0d19efed64b 100644 --- a/sys/arch/i386/isa/ahc_isa.c +++ b/sys/arch/i386/isa/ahc_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahc_isa.c,v 1.17 2007/11/25 16:40:04 jmc Exp $ */ +/* $OpenBSD: ahc_isa.c,v 1.18 2009/03/29 21:53:52 sthen Exp $ */ /* $NetBSD: ahc_isa.c,v 1.5 1996/10/21 22:27:39 thorpej Exp $ */ /* @@ -243,7 +243,7 @@ ahc_isa_match(struct isa_attach_args *ia, bus_addr_t iobase) * be common on machines configured to look for * ahc_eisa and ahc_isa. */ - printf("ahc_isa_match: can't map I/O space for 0x%x\n", + printf("ahc_isa_match: can't map i/o space for 0x%x\n", iobase); #endif return (0); @@ -351,7 +351,7 @@ ahc_isa_attach(struct device *parent, struct device *self, void *aux) ahc->chip = AHC_VL; /* We are a VL Bus Controller */ if (bus_space_map(iot, ia->ia_iobase, ia->ia_iosize, 0, &ioh)) - panic("ahc_isa_attach: could not map slot I/O addresses"); + panic("ahc_isa_attach: can't map slot i/o addresses"); if (!ahc_isa_idstring(iot, ioh, idstring)) panic("ahc_isa_attach: could not read ID string"); if ((irq = ahc_isa_irq(iot, ioh)) < 0) diff --git a/sys/arch/i386/pci/gscpcib.c b/sys/arch/i386/pci/gscpcib.c index 9a4f538f19a..80eadb2f260 100644 --- a/sys/arch/i386/pci/gscpcib.c +++ b/sys/arch/i386/pci/gscpcib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gscpcib.c,v 1.5 2006/12/11 20:57:40 deraadt Exp $ */ +/* $OpenBSD: gscpcib.c,v 1.6 2009/03/29 21:53:52 sthen Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -100,7 +100,7 @@ gscpcib_attach(struct device *parent, struct device *self, void *aux) if (PCI_MAPREG_IO_ADDR(gpiobase) == 0 || bus_space_map(sc->sc_gpio_iot, PCI_MAPREG_IO_ADDR(gpiobase), GSCGPIO_SIZE, 0, &sc->sc_gpio_ioh)) { - printf(": failed to map GPIO I/O space"); + printf(": can't map GPIO i/o space"); goto corepcib; } |