summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/cmpci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/cmpci.c')
-rw-r--r--sys/dev/pci/cmpci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c
index a2604de5f97..f54321cc8f2 100644
--- a/sys/dev/pci/cmpci.c
+++ b/sys/dev/pci/cmpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmpci.c,v 1.21 2008/10/25 22:30:43 jakemsr Exp $ */
+/* $OpenBSD: cmpci.c,v 1.22 2009/03/29 21:53:52 sthen Exp $ */
/* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */
/*
@@ -378,20 +378,20 @@ cmpci_attach(struct device *parent, struct device *self, void *aux)
/* map I/O space */
if (pci_mapreg_map(pa, CMPCI_PCI_IOBASEREG, PCI_MAPREG_TYPE_IO, 0,
&sc->sc_iot, &sc->sc_ioh, NULL, NULL, 0)) {
- printf(": failed to map I/O space\n");
+ printf(": can't map i/o space\n");
return;
}
/* interrupt */
if (pci_intr_map(pa, &ih)) {
- printf(": failed to map interrupt\n");
+ printf(": can't map interrupt\n");
return;
}
intrstr = pci_intr_string(pa->pa_pc, ih);
sc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_AUDIO, cmpci_intr, sc,
sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
- printf(": failed to establish interrupt");
+ printf(": can't establish interrupt");
if (intrstr != NULL)
printf(" at %s", intrstr);
printf("\n");