Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev x68k has sc_events and not k_events in str...



details:   https://anonhg.NetBSD.org/src/rev/268bad4badd8
branches:  trunk
changeset: 552631:268bad4badd8
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Sep 28 21:14:41 2003 +0000

description:
x68k has sc_events and not k_events in struct kbd_softc

diffstat:

 sys/arch/x68k/dev/kbd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r cbd0c93c559c -r 268bad4badd8 sys/arch/x68k/dev/kbd.c
--- a/sys/arch/x68k/dev/kbd.c   Sun Sep 28 21:12:26 2003 +0000
+++ b/sys/arch/x68k/dev/kbd.c   Sun Sep 28 21:14:41 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbd.c,v 1.19 2003/09/21 19:16:53 jdolecek Exp $        */
+/*     $NetBSD: kbd.c,v 1.20 2003/09/28 21:14:41 cl Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.19 2003/09/21 19:16:53 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.20 2003/09/28 21:14:41 cl Exp $");
 
 #include "ite.h"
 #include "bell.h"
@@ -281,8 +281,8 @@
                return (0);
 
        case FIOSETOWN:
-               if (-*(int *)data != k->k_events.ev_io->p_pgid
-                   && *(int *)data != k->k_events.ev_io->p_pid)
+               if (-*(int *)data != k->sc_events.ev_io->p_pgid
+                   && *(int *)data != k->sc_events.ev_io->p_pid)
                        return (EPERM);
                return 0;
 



Home | Main Index | Thread Index | Old Index