[PATCH:xf86-input-mouse 1/4] Enable MSE_MISC on NetBSD as well.
Alan Coopersmith
alan.coopersmith at oracle.com
Tue Mar 25 17:27:47 PDT 2014
On 08/19/13 02:14 AM, Thomas Klausner wrote:
> Otherwise we can't find WSMouse.
>
> From Matthew R. Green <mrg at NetBSD.org>
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
> ---
> src/bsd_mouse.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/src/bsd_mouse.c b/src/bsd_mouse.c
> index ca4c9d0..98e5ff3 100644
> --- a/src/bsd_mouse.c
> +++ b/src/bsd_mouse.c
> @@ -97,9 +97,7 @@ static const char *mouseDevs[] = {
> static int
> SupportedInterfaces(void)
> {
> -#if defined(__NetBSD__)
> - return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
> -#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__)
> return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO | MSE_MISC;
> #else
> return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_XPS2 | MSE_AUTO | MSE_MISC;
>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list