Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Make it possible to read /dev/usb so the USB event m...



details:   https://anonhg.NetBSD.org/src/rev/0f9470434e0c
branches:  trunk
changeset: 481422:0f9470434e0c
user:      augustss <augustss%NetBSD.org@localhost>
date:      Fri Jan 28 17:26:03 2000 +0000

description:
Make it possible to read /dev/usb so the USB event mechanism can be used.

diffstat:

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

diffs (18 lines):

diff -r e048004923f2 -r 0f9470434e0c sys/sys/conf.h
--- a/sys/sys/conf.h    Fri Jan 28 17:19:36 2000 +0000
+++ b/sys/sys/conf.h    Fri Jan 28 17:26:03 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.69 2000/01/21 17:52:29 mjacob Exp $ */
+/*     $NetBSD: conf.h,v 1.70 2000/01/28 17:26:03 augustss Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -296,7 +296,7 @@
 #define        cdev_ses_init(c,n)      cdev__oci_init(c,n)
 
 #define        cdev_usb_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
+       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
        (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
        (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
        (dev_type_mmap((*))) enodev }



Home | Main Index | Thread Index | Old Index