Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/tc Fix Maxine keyboard and mouse ioctl routine...



details:   https://anonhg.NetBSD.org/src/rev/46c95d5a6de0
branches:  trunk
changeset: 572682:46c95d5a6de0
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Mon Jan 10 04:43:34 2005 +0000

description:
Fix Maxine keyboard and mouse ioctl routines to return EPASSTHROUGH for
unrecognized commands so they can be passed to other handlers.

diffstat:

 sys/arch/pmax/tc/dtkbd.c |  6 +++---
 sys/arch/pmax/tc/dtms.c  |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 1bef48e3a484 -r 46c95d5a6de0 sys/arch/pmax/tc/dtkbd.c
--- a/sys/arch/pmax/tc/dtkbd.c  Mon Jan 10 04:40:05 2005 +0000
+++ b/sys/arch/pmax/tc/dtkbd.c  Mon Jan 10 04:43:34 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtkbd.c,v 1.4 2005/01/08 18:48:34 mhitch Exp $ */
+/*     $NetBSD: dtkbd.c,v 1.5 2005/01/10 04:43:34 mhitch Exp $ */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtkbd.c,v 1.4 2005/01/08 18:48:34 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtkbd.c,v 1.5 2005/01/10 04:43:34 mhitch Exp $");
 
 #include "locators.h"
 
@@ -204,7 +204,7 @@
                return 0;
        default:
                /* XXX */
-               return (-1);
+               return (EPASSTHROUGH);
        }
 }
 
diff -r 1bef48e3a484 -r 46c95d5a6de0 sys/arch/pmax/tc/dtms.c
--- a/sys/arch/pmax/tc/dtms.c   Mon Jan 10 04:40:05 2005 +0000
+++ b/sys/arch/pmax/tc/dtms.c   Mon Jan 10 04:43:34 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtms.c,v 1.4 2005/01/10 04:40:05 mhitch Exp $  */
+/*     $NetBSD: dtms.c,v 1.5 2005/01/10 04:43:34 mhitch Exp $  */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtms.c,v 1.4 2005/01/10 04:40:05 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtms.c,v 1.5 2005/01/10 04:43:34 mhitch Exp $");
 
 #include "locators.h"
 
@@ -140,7 +140,7 @@
                return (0);
        }
 
-       return (-1);
+       return (EPASSTHROUGH);
 }
 
 void



Home | Main Index | Thread Index | Old Index