Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Fix wsmouse at uatp attachment for module.



details:   https://anonhg.NetBSD.org/src/rev/acea04f1f9f0
branches:  trunk
changeset: 797434:acea04f1f9f0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jul 17 17:11:12 2014 +0000

description:
Fix wsmouse at uatp attachment for module.

diffstat:

 sys/dev/usb/uatp.c           |  7 ++++---
 sys/modules/uatp/uatp.ioconf |  3 +--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r c15bd73ac859 -r acea04f1f9f0 sys/dev/usb/uatp.c
--- a/sys/dev/usb/uatp.c        Thu Jul 17 15:09:00 2014 +0000
+++ b/sys/dev/usb/uatp.c        Thu Jul 17 17:11:12 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uatp.c,v 1.9 2014/07/14 14:58:32 riastradh Exp $       */
+/*     $NetBSD: uatp.c,v 1.10 2014/07/17 17:11:12 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
@@ -146,7 +146,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.9 2014/07/14 14:58:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.10 2014/07/17 17:11:12 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -974,7 +974,8 @@
        /* Attach wsmouse.  */
        a.accessops = &uatp_accessops;
        a.accesscookie = sc;
-       sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint);
+       sc->sc_wsmousedev = config_found_ia(self, "wsmousedev", &a,
+           wsmousedevprint);
 }
 
 /* Sysctl setup */
diff -r c15bd73ac859 -r acea04f1f9f0 sys/modules/uatp/uatp.ioconf
--- a/sys/modules/uatp/uatp.ioconf      Thu Jul 17 15:09:00 2014 +0000
+++ b/sys/modules/uatp/uatp.ioconf      Thu Jul 17 17:11:12 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: uatp.ioconf,v 1.1 2012/08/04 04:37:26 riastradh Exp $
+# $NetBSD: uatp.ioconf,v 1.2 2014/07/17 17:11:12 riastradh Exp $
 
 ioconf uatp
 
@@ -8,4 +8,3 @@
 pseudo-root    uhidev*
 
 uatp*          at uhidev? reportid ?
-wsmouse*       at uatp? mux 0



Home | Main Index | Thread Index | Old Index