Fix wsmouse at uatp attachment for module.
This commit is contained in:
parent
ced0e0f361
commit
bc81f6d8be
@ -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.
|
* Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
|
||||||
@ -146,7 +146,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -974,7 +974,8 @@ uatp_attach(device_t parent, device_t self, void *aux)
|
|||||||
/* Attach wsmouse. */
|
/* Attach wsmouse. */
|
||||||
a.accessops = &uatp_accessops;
|
a.accessops = &uatp_accessops;
|
||||||
a.accesscookie = sc;
|
a.accesscookie = sc;
|
||||||
sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint);
|
sc->sc_wsmousedev = config_found_ia(self, "wsmousedev", &a,
|
||||||
|
wsmousedevprint);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sysctl setup */
|
/* Sysctl setup */
|
||||||
|
@ -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
|
ioconf uatp
|
||||||
|
|
||||||
@ -8,4 +8,3 @@ include "dev/usb/files.usb"
|
|||||||
pseudo-root uhidev*
|
pseudo-root uhidev*
|
||||||
|
|
||||||
uatp* at uhidev? reportid ?
|
uatp* at uhidev? reportid ?
|
||||||
wsmouse* at uatp? mux 0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user