Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Actually add sshub_p for previous
details: https://anonhg.NetBSD.org/src/rev/37367bc9dece
branches: nick-nhusb
changeset: 334538:37367bc9dece
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Oct 07 10:35:25 2016 +0000
description:
Actually add sshub_p for previous
diffstat:
sys/dev/usb/usb_subr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 82545f061763 -r 37367bc9dece sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Fri Oct 07 10:32:49 2016 +0000
+++ b/sys/dev/usb/usb_subr.c Fri Oct 07 10:35:25 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.198.2.32 2016/10/07 10:32:49 skrll Exp $ */
+/* $NetBSD: usb_subr.c,v 1.198.2.33 2016/10/07 10:35:25 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.32 2016/10/07 10:32:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.33 2016/10/07 10:35:25 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -1554,6 +1554,7 @@
err = p->up_dev->ud_addr;
else {
int s = UGETW(p->up_status.wPortStatus);
+ const bool sshub_p = USB_IS_SS(dev->ud_speed);
if (s & UPS_PORT_ENABLED)
err = USB_PORT_ENABLED;
else if (s & UPS_SUSPEND)
Home |
Main Index |
Thread Index |
Old Index