Source-Changes-HG archive

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

[src/kqueue]: src/sys/arch Add noop kqueue entry points.



details:   https://anonhg.NetBSD.org/src/rev/4420fce9f1e9
branches:  kqueue
changeset: 512434:4420fce9f1e9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Sep 12 19:04:00 2001 +0000

description:
Add noop kqueue entry points.

diffstat:

 sys/arch/amiga/dev/grf.c  |  10 +++++++++-
 sys/arch/amiga/dev/view.c |  10 +++++++++-
 sys/arch/atari/dev/grf.c  |  10 +++++++++-
 sys/arch/atari/dev/view.c |  10 +++++++++-
 sys/arch/hp300/dev/grf.c  |  10 +++++++++-
 5 files changed, 45 insertions(+), 5 deletions(-)

diffs (117 lines):

diff -r 196e064ac44a -r 4420fce9f1e9 sys/arch/amiga/dev/grf.c
--- a/sys/arch/amiga/dev/grf.c  Wed Sep 12 17:45:21 2001 +0000
+++ b/sys/arch/amiga/dev/grf.c  Wed Sep 12 19:04:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.37 2000/06/29 08:44:05 mrg Exp $     */
+/*     $NetBSD: grf.c,v 1.37.4.1 2001/09/12 19:04:00 thorpej Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -311,6 +311,14 @@
        return(events & (POLLOUT | POLLWRNORM));
 }
 
+int
+grfkqfilter(dev_t dev, struct knote *kn)
+{
+
+       /* XXXLUKEM (thorpej): not supported -- why is poll? */
+       return (1);
+}
+
 /*
  * map the contents of a graphics display card into process' 
  * memory space.
diff -r 196e064ac44a -r 4420fce9f1e9 sys/arch/amiga/dev/view.c
--- a/sys/arch/amiga/dev/view.c Wed Sep 12 17:45:21 2001 +0000
+++ b/sys/arch/amiga/dev/view.c Wed Sep 12 19:04:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: view.c,v 1.17 2000/06/26 04:55:24 simonb Exp $ */
+/*     $NetBSD: view.c,v 1.17.4.1 2001/09/12 19:04:00 thorpej Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -421,3 +421,11 @@
 {
        return(events & (POLLOUT | POLLWRNORM));
 }
+
+int
+viewkqfilter(dev_t dev, struct knote *kn)
+{
+
+       /* XXXLUKEM (thorpej): not supported -- why is poll? */
+       return (1);
+}
diff -r 196e064ac44a -r 4420fce9f1e9 sys/arch/atari/dev/grf.c
--- a/sys/arch/atari/dev/grf.c  Wed Sep 12 17:45:21 2001 +0000
+++ b/sys/arch/atari/dev/grf.c  Wed Sep 12 19:04:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.25 2000/06/29 08:28:24 mrg Exp $     */
+/*     $NetBSD: grf.c,v 1.25.4.1 2001/09/12 19:04:01 thorpej Exp $     */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -278,6 +278,14 @@
        return (revents);
 }
 
+int
+grfkqfilter(dev_t dev, struct knote *kn)
+{
+
+       /* XXXLUKEM (thorpej): not supported -- why is poll? */
+       return (1);
+}
+
 /*
  * map the contents of a graphics display card into process' 
  * memory space.
diff -r 196e064ac44a -r 4420fce9f1e9 sys/arch/atari/dev/view.c
--- a/sys/arch/atari/dev/view.c Wed Sep 12 17:45:21 2001 +0000
+++ b/sys/arch/atari/dev/view.c Wed Sep 12 19:04:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: view.c,v 1.17 2000/06/26 04:55:34 simonb Exp $ */
+/*     $NetBSD: view.c,v 1.17.4.1 2001/09/12 19:04:01 thorpej Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -450,6 +450,14 @@
        return (revents);
 }
 
+int
+viewkqfilter(dev_t dev, struct knote *kn)
+{
+
+       /* XXXLUKEM (thorpej): not supported -- why is poll? */
+       return (1);
+}
+
 view_t *
 viewview(dev)
 dev_t  dev;
diff -r 196e064ac44a -r 4420fce9f1e9 sys/arch/hp300/dev/grf.c
--- a/sys/arch/hp300/dev/grf.c  Wed Sep 12 17:45:21 2001 +0000
+++ b/sys/arch/hp300/dev/grf.c  Wed Sep 12 19:04:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.39 2001/04/04 16:43:04 tsutsui Exp $ */
+/*     $NetBSD: grf.c,v 1.39.2.1 2001/09/12 19:04:01 thorpej Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -298,6 +298,14 @@
        return (events & (POLLOUT | POLLWRNORM));
 }
 
+int
+grfkqfilter(dev_t dev, struct knote *kn)
+{
+
+       /* XXXLUKEM (thorpej): not supported -- why is poll? */
+       return (1);
+}
+
 /*ARGSUSED*/
 paddr_t
 grfmmap(dev, off, prot)



Home | Main Index | Thread Index | Old Index