summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sandrv.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-03-29 21:53:54 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-03-29 21:53:54 +0000
commit69c5b21cf2da9c2ff6a2d3adf1f48f811feac372 (patch)
tree599868694b84d6aa6c93806fb08f3921218dba10 /sys/dev/pci/if_sandrv.c
parente8880d029cebac8827fe0228bf64b8a2ba3ad456 (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/dev/pci/if_sandrv.c')
-rw-r--r--sys/dev/pci/if_sandrv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sandrv.c b/sys/dev/pci/if_sandrv.c
index 3dc519456d5..db53b162c79 100644
--- a/sys/dev/pci/if_sandrv.c
+++ b/sys/dev/pci/if_sandrv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sandrv.c,v 1.13 2009/01/20 20:03:45 grange Exp $ */
+/* $OpenBSD: if_sandrv.c,v 1.14 2009/03/29 21:53:52 sthen Exp $ */
/*-
* Copyright (c) 2001-2004 Sangoma Technologies (SAN)
@@ -488,7 +488,7 @@ sdla_pci_probe(int atype, struct pci_attach_args *pa)
/* Map and establish the interrupt */
if (pci_intr_map(pa, &ih)) {
- printf(": couldn't map interrupt\n");
+ printf(": can't map interrupt\n");
return (EINVAL);
}
intrstr = pci_intr_string(pa->pa_pc, ih);
@@ -1147,7 +1147,7 @@ sdla_detect_aft(sdlahw_t *hw)
bus_space_map(hw->hwcard->memt, hw->mem_base_addr, XILINX_PCI_MEM_SIZE,
0, &hw->dpmbase);
if (!hw->dpmbase) {
- printf("%s: couldn't map memory\n", hw->devname);
+ printf("%s: can't map mem space\n", hw->devname);
return (EINVAL);
}
hw->status |= SDLA_MEM_MAPPED;