diff options
| author | 2009-03-29 21:53:52 +0000 | |
|---|---|---|
| committer | 2009-03-29 21:53:52 +0000 | |
| commit | e10c952f7e94bfde9fcd30d5b1abf17668c63aad (patch) | |
| tree | de7626cb1afd57d0e8808c8c6cef7adb3976dd0a /sys/dev/pci/cmpci.c | |
| parent | Make sure systat mbufs prints the interface name even if an interface only (diff) | |
| download | wireguard-openbsd-e10c952f7e94bfde9fcd30d5b1abf17668c63aad.tar.xz wireguard-openbsd-e10c952f7e94bfde9fcd30d5b1abf17668c63aad.zip | |
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/cmpci.c')
| -rw-r--r-- | sys/dev/pci/cmpci.c | 8 |
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"); |
