summaryrefslogtreecommitdiff
path: root/sys/dev/pci/uhci_pci.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 02:21:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 02:21:29 +0000
commit2834a9006111e44b1e46874adf41b23a95ba8b0b (patch)
tree0fd837c7e9a4863ae7d9260d8a88f19b4ab40488 /sys/dev/pci/uhci_pci.c
parent506f1e4998502a52c69fe70093cfd10a7b89fcd0 (diff)
cleanup dmesg output
Diffstat (limited to 'sys/dev/pci/uhci_pci.c')
-rw-r--r--sys/dev/pci/uhci_pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/uhci_pci.c b/sys/dev/pci/uhci_pci.c
index 5194af945d4..6b1a6f070ad 100644
--- a/sys/dev/pci/uhci_pci.c
+++ b/sys/dev/pci/uhci_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhci_pci.c,v 1.14 2003/07/08 13:19:08 nate Exp $ */
+/* $OpenBSD: uhci_pci.c,v 1.15 2003/08/11 02:21:28 mickey Exp $ */
/* $NetBSD: uhci_pci.c,v 1.24 2002/10/02 16:51:58 thorpej Exp $ */
/*
@@ -110,7 +110,7 @@ uhci_pci_attach(struct device *parent, struct device *self, void *aux)
/* Map I/O registers */
if (pci_mapreg_map(pa, PCI_CBIO, PCI_MAPREG_TYPE_IO, 0,
&sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size, 0)) {
- printf("%s: can't map i/o space\n", devname);
+ printf(": can't map i/o space\n");
return;
}
@@ -128,20 +128,20 @@ uhci_pci_attach(struct device *parent, struct device *self, void *aux)
/* Map and establish the interrupt. */
if (pci_intr_map(pa, &ih)) {
- printf("%s: couldn't map interrupt\n", devname);
+ printf(": couldn't map interrupt\n");
return;
}
intrstr = pci_intr_string(pc, ih);
sc->sc_ih = pci_intr_establish(pc, ih, IPL_USB, uhci_intr, sc,
devname);
if (sc->sc_ih == NULL) {
- printf(": couldn't establish interrupt", devname);
+ printf(": couldn't establish interrupt");
if (intrstr != NULL)
printf(" at %s", intrstr);
printf("\n");
return;
}
- printf(": interrupting at %s\n", intrstr);
+ printf(": %s\n", intrstr);
/* Set LEGSUP register to its default value. */
pci_conf_write(pc, tag, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN);