diff options
author | 2014-11-10 14:26:38 +0000 | |
---|---|---|
committer | 2014-11-10 14:26:38 +0000 | |
commit | 8bfbe9108ea54d64fe82a50791ce7727e5e516b5 (patch) | |
tree | 79bd33aee2f7c43599dcb538abc9399b42d85fd6 /sys/dev/usb/uhub.c | |
parent | Don't attempt to open log files when using syslog, as we are not going to (diff) | |
download | wireguard-openbsd-8bfbe9108ea54d64fe82a50791ce7727e5e516b5.tar.xz wireguard-openbsd-8bfbe9108ea54d64fe82a50791ce7727e5e516b5.zip |
Add some fields needed for TT support.
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r-- | sys/dev/usb/uhub.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index fa4d5d710d1..eaf940af634 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhub.c,v 1.76 2014/11/07 13:56:29 mpi Exp $ */ +/* $OpenBSD: uhub.c,v 1.77 2014/11/10 14:26:38 mpi Exp $ */ /* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */ @@ -120,6 +120,7 @@ uhub_attach(struct device *parent, struct device *self, void *aux) struct usbd_interface *iface; usb_endpoint_descriptor_t *ed; struct usbd_tt *tts = NULL; + uint8_t ttthink = 0; usbd_status err; #ifdef UHUB_DEBUG int nremov; @@ -219,6 +220,7 @@ uhub_attach(struct device *parent, struct device *self, void *aux) hub->explore = uhub_explore; hub->nports = nports; hub->powerdelay = powerdelay; + hub->ttthink = ttthink; if (!dev->self_powered && dev->powersrc->parent != NULL && !dev->powersrc->parent->self_powered) { |