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/dev/cardbus | |
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/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/ohci_cardbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/ohci_cardbus.c b/sys/dev/cardbus/ohci_cardbus.c index af76290abb4..c099342bccc 100644 --- a/sys/dev/cardbus/ohci_cardbus.c +++ b/sys/dev/cardbus/ohci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci_cardbus.c,v 1.21 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: ohci_cardbus.c,v 1.22 2019/01/07 03:41:06 dlg Exp $ */ /* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */ /* @@ -135,7 +135,7 @@ ohci_cardbus_attach(struct device *parent, struct device *self, void *aux) printf(": couldn't establish interrupt\n"); return; } - printf(": irq %d", ca->ca_intrline); + printf(": irq %d, ", ca->ca_intrline); /* Figure out vendor for root hub descriptor. */ vendor = cardbus_findvendor(ca->ca_id); |