Module Name: src
Committed By: skrll
Date: Sat Aug 2 07:20:08 UTC 2014
Modified Files:
src/sys/rump/dev/lib/libugenhc: ugenhc.c
Log Message:
Let's believe the spec when it says "must".
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/rump/dev/lib/libugenhc/ugenhc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/dev/lib/libugenhc/ugenhc.c
diff -u src/sys/rump/dev/lib/libugenhc/ugenhc.c:1.19 src/sys/rump/dev/lib/libugenhc/ugenhc.c:1.20
--- src/sys/rump/dev/lib/libugenhc/ugenhc.c:1.19 Sat Aug 2 07:18:47 2014
+++ src/sys/rump/dev/lib/libugenhc/ugenhc.c Sat Aug 2 07:20:08 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ugenhc.c,v 1.19 2014/08/02 07:18:47 skrll Exp $ */
+/* $NetBSD: ugenhc.c,v 1.20 2014/08/02 07:20:08 skrll Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.19 2014/08/02 07:18:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.20 2014/08/02 07:20:08 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -152,7 +152,6 @@ static const usb_config_descriptor_t rum
.bNumInterface = 1,
.bmAttributes = UC_SELF_POWERED | UC_ATTR_MBO,
};
-/* XXX: spec says UC_ATTR_MBO is reserved and set to one. required? */
static const usb_interface_descriptor_t rumphub_uid = {
.bLength = USB_INTERFACE_DESCRIPTOR_SIZE,