diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-01-07 03:41:07 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-01-07 03:41:07 +0000 |
commit | ce2f1a9cf17d0cc86875750878ae691ecbc03da7 (patch) | |
tree | 44358d5bd15de411fb24d41d6b89ab2b810a0105 /sys/arch/octeon | |
parent | 99a5fa2ebaccf70827ccc91a391241fa55d56b7f (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/arch/octeon')
-rw-r--r-- | sys/arch/octeon/dev/octohci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/dev/octohci.c b/sys/arch/octeon/dev/octohci.c index 1fe457ef7e6..7a5fd656d7b 100644 --- a/sys/arch/octeon/dev/octohci.c +++ b/sys/arch/octeon/dev/octohci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octohci.c,v 1.3 2017/08/13 14:46:04 visa Exp $ */ +/* $OpenBSD: octohci.c,v 1.4 2019/01/07 03:41:06 dlg Exp $ */ /* * Copyright (c) 2015 Jonathan Matthew <jmatthew@openbsd.org> @@ -96,6 +96,8 @@ octohci_attach(struct device *parent, struct device *self, void *aux) (void *)&sc->sc_ohci, sc->sc_ohci.sc_bus.bdev.dv_xname); KASSERT(sc->sc_ih != NULL); + printf(", "); + if ((ohci_checkrev(&sc->sc_ohci) != USBD_NORMAL_COMPLETION) || (ohci_handover(&sc->sc_ohci) != USBD_NORMAL_COMPLETION)) goto failed; |