Source-Changes-HG archive

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

[src/gehenna-devsw]: src/sys/compat/svr4 Add the character device switch.



details:   https://anonhg.NetBSD.org/src/rev/bbee044454db
branches:  gehenna-devsw
changeset: 527047:bbee044454db
user:      gehenna <gehenna%NetBSD.org@localhost>
date:      Thu May 16 04:21:38 2002 +0000

description:
Add the character device switch.

diffstat:

 sys/compat/svr4/svr4_net.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 122486d59297 -r bbee044454db sys/compat/svr4/svr4_net.c
--- a/sys/compat/svr4/svr4_net.c        Thu May 16 04:20:19 2002 +0000
+++ b/sys/compat/svr4/svr4_net.c        Thu May 16 04:21:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_net.c,v 1.28 2002/03/16 20:43:57 christos Exp $    */
+/*     $NetBSD: svr4_net.c,v 1.28.4.1 2002/05/16 04:21:38 gehenna Exp $         */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_net.c,v 1.28 2002/03/16 20:43:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_net.c,v 1.28.4.1 2002/05/16 04:21:38 gehenna Exp $");
 
 #define COMPAT_SVR4 1
 
@@ -80,6 +80,13 @@
 #include <compat/svr4/svr4_stropts.h>
 #include <compat/svr4/svr4_socket.h>
 
+dev_type_open(svr4_netopen);
+
+const struct cdevsw svr4_net_cdevsw = {
+       svr4_netopen, noclose, noread, nowrite, noioctl,
+       nostop, notty, nopoll, nommap,
+};
+
 /*
  * Device minor numbers
  */



Home | Main Index | Thread Index | Old Index