Source-Changes-HG archive

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

[src/trunk]: src/sys/sys cdev_systrace_init() only gets an "open" entry point.



details:   https://anonhg.NetBSD.org/src/rev/7ce58323b217
branches:  trunk
changeset: 532944:7ce58323b217
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jun 18 05:30:40 2002 +0000

description:
cdev_systrace_init() only gets an "open" entry point.

diffstat:

 sys/sys/conf.h |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 346ed2c0e333 -r 7ce58323b217 sys/sys/conf.h
--- a/sys/sys/conf.h    Tue Jun 18 05:24:44 2002 +0000
+++ b/sys/sys/conf.h    Tue Jun 18 05:30:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.102 2002/06/17 16:23:58 christos Exp $      */
+/*     $NetBSD: conf.h,v 1.103 2002/06/18 05:30:40 thorpej Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -335,9 +335,10 @@
 
 /* open, close, read, write, ioctl */
 #define        cdev_systrace_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), dev_noimpl(stop,enodev), \
-       0,  dev_noimpl(poll,enodev), dev_noimpl(mmap,enodev) }
+       dev_init(c,n,open), dev_noimpl(close,enodev), \
+       dev_noimpl(read,enodev), dev_noimpl(write,enodev), \
+       dev_noimpl(ioctl,enodev), dev_noimpl(stop,enodev), \
+       0, seltrue, dev_noimpl(mmap,enodev) }
 
 /* (open), (close), read, write */
 #define cdev_swap_init(c,n) { \



Home | Main Index | Thread Index | Old Index