summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-01-07 03:41:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-01-07 03:41:07 +0000
commitce2f1a9cf17d0cc86875750878ae691ecbc03da7 (patch)
tree44358d5bd15de411fb24d41d6b89ab2b810a0105 /sys/dev/pci
parent99a5fa2ebaccf70827ccc91a391241fa55d56b7f (diff)
tweak ohci_checkrev so it doesnt print a leading comma and space.
it assumes that it always followed an interrupt string, but we don't print that on fdt. having the bus responsible for the whitespace means the fdt glue can print a colon to separate the bus info from checkrev output, while every other glue keeps the comma. ok deraadt@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ohci_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ohci_pci.c b/sys/dev/pci/ohci_pci.c
index 86b6d979c09..274183392dc 100644
--- a/sys/dev/pci/ohci_pci.c
+++ b/sys/dev/pci/ohci_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci_pci.c,v 1.40 2014/05/16 18:17:03 mpi Exp $ */
+/* $OpenBSD: ohci_pci.c,v 1.41 2019/01/07 03:41:06 dlg Exp $ */
/* $NetBSD: ohci_pci.c,v 1.23 2002/10/02 16:51:47 thorpej Exp $ */
/*
@@ -141,7 +141,7 @@ ohci_pci_attach(struct device *parent, struct device *self, void *aux)
splx(s);
return;
}
- printf(": %s", intrstr);
+ printf(": %s, ", intrstr);
/* Figure out vendor for root hub descriptor. */
vendor = pci_findvendor(pa->pa_id);