Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 01:47:09 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215498 - stable/8/sys/dev/usb/input
Message-ID:  <201011190147.oAJ1l9UC052910@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Fri Nov 19 01:47:09 2010
New Revision: 215498
URL: http://svn.freebsd.org/changeset/base/215498

Log:
  MFC r212132
  
   Fix UMS_BUTTON_MAX define name

Modified:
  stable/8/sys/dev/usb/input/ums.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/input/ums.c
==============================================================================
--- stable/8/sys/dev/usb/input/ums.c	Fri Nov 19 01:46:33 2010	(r215497)
+++ stable/8/sys/dev/usb/input/ums.c	Fri Nov 19 01:47:09 2010	(r215498)
@@ -487,7 +487,7 @@ ums_hid_parse(struct ums_softc *sc, devi
 
 	/* detect other buttons */
 
-	for (j = 0; (i < UMS_BUTTONS_MAX) && (j < 2); i++, j++) {
+	for (j = 0; (i < UMS_BUTTON_MAX) && (j < 2); i++, j++) {
 		if (!hid_locate(buf, len, HID_USAGE2(HUP_MICROSOFT, (j + 1)),
 		    hid_input, index, &info->sc_loc_btn[i], NULL, 
 		    &info->sc_iid_btn[i])) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011190147.oAJ1l9UC052910>