Source-Changes-HG archive

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

[src/kqueue]: src/sys/arch/x68k/dev add dummy itestop(), so that we can use c...



details:   https://anonhg.NetBSD.org/src/rev/82bd3e1d224e
branches:  kqueue
changeset: 512487:82bd3e1d224e
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Jun 24 07:04:05 2002 +0000

description:
add dummy itestop(), so that we can use cdev_tty_init() in conf.c

diffstat:

 sys/arch/x68k/dev/ite.c |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 35d45c40e5c0 -r 82bd3e1d224e sys/arch/x68k/dev/ite.c
--- a/sys/arch/x68k/dev/ite.c   Sun Jun 23 18:17:31 2002 +0000
+++ b/sys/arch/x68k/dev/ite.c   Mon Jun 24 07:04:05 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.25.2.2 2002/06/23 17:43:16 jdolecek Exp $    */
+/*     $NetBSD: ite.c,v 1.25.2.3 2002/06/24 07:04:05 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -583,6 +583,18 @@
        splx(s);
 }
 
+void
+itestop(tp, rw)
+       struct tty *tp;
+       int rw;
+{
+       /*
+        * XXX not implemented
+        * Stylistically, this should return ENODEV, but this returns void.
+        * So just do nothing. This is identical to dev_noimpl(stop,enodev).
+        */ 
+}
+
 /* XXX called after changes made in underlying grf layer. */
 /* I want to nuke this */
 void



Home | Main Index | Thread Index | Old Index