Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb From FreeBSD via OpenBSD:
details: https://anonhg.NetBSD.org/src/rev/d197a66335fa
branches: trunk
changeset: 336056:d197a66335fa
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Feb 08 23:43:14 2015 +0000
description:
>From FreeBSD via OpenBSD:
Global Item #3 should be Physical Minimum not Maximum according to the
HID spec.
diffstat:
sys/dev/usb/hid.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e96da160bbde -r d197a66335fa sys/dev/usb/hid.c
--- a/sys/dev/usb/hid.c Sun Feb 08 20:25:10 2015 +0000
+++ b/sys/dev/usb/hid.c Sun Feb 08 23:43:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hid.c,v 1.35 2012/02/24 06:48:23 mrg Exp $ */
+/* $NetBSD: hid.c,v 1.36 2015/02/08 23:43:14 jmcneill Exp $ */
/* $FreeBSD: src/sys/dev/usb/hid.c,v 1.11 1999/11/17 22:33:39 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.35 2012/02/24 06:48:23 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.36 2015/02/08 23:43:14 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -267,7 +267,7 @@
c->logical_maximum = dval;
break;
case 3:
- c->physical_maximum = dval;
+ c->physical_minimum = dval;
break;
case 4:
c->physical_maximum = dval;
Home |
Main Index |
Thread Index |
Old Index