diff options
author | 2019-02-01 13:24:15 +0000 | |
---|---|---|
committer | 2019-02-01 13:24:15 +0000 | |
commit | 7d27638ade5b924b342f4d723179b73b6841a5c8 (patch) | |
tree | 43168a133416e525f62e3ed8b112df4519f36247 | |
parent | port is in network byte order (diff) | |
download | wireguard-openbsd-7d27638ade5b924b342f4d723179b73b6841a5c8.tar.xz wireguard-openbsd-7d27638ade5b924b342f4d723179b73b6841a5c8.zip |
Print xhci version in hex, from sc.dying at gmail.
-rw-r--r-- | sys/dev/usb/xhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c index 7209e2062ba..1078acb20c1 100644 --- a/sys/dev/usb/xhci.c +++ b/sys/dev/usb/xhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xhci.c,v 1.89 2018/09/06 15:39:48 mpi Exp $ */ +/* $OpenBSD: xhci.c,v 1.90 2019/02/01 13:24:15 mpi Exp $ */ /* * Copyright (c) 2014-2015 Martin Pieuchot @@ -296,7 +296,7 @@ xhci_init(struct xhci_softc *sc) sc->sc_runt_off = XREAD4(sc, XHCI_RTSOFF); sc->sc_version = XREAD2(sc, XHCI_HCIVERSION); - printf(", xHCI %u.%u\n", sc->sc_version >> 8, sc->sc_version & 0xff); + printf(", xHCI %x.%x\n", sc->sc_version >> 8, sc->sc_version & 0xff); #ifdef XHCI_DEBUG printf("%s: CAPLENGTH=%#lx\n", DEVNAME(sc), sc->sc_oper_off); |