Source-Changes-HG archive

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

[src/kqueue]: src/sys/dev/usb Add kqueue "support" (the poll entry point on t...



details:   https://anonhg.NetBSD.org/src/rev/b5e1b2cc8c25
branches:  kqueue
changeset: 512401:b5e1b2cc8c25
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Sep 08 18:28:29 2001 +0000

description:
Add kqueue "support" (the poll entry point on this doesn't
really do anything, either).

diffstat:

 sys/dev/usb/urio.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r b811bdf87b91 -r b5e1b2cc8c25 sys/dev/usb/urio.c
--- a/sys/dev/usb/urio.c        Sat Sep 08 18:25:01 2001 +0000
+++ b/sys/dev/usb/urio.c        Sat Sep 08 18:28:29 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: urio.c,v 1.5 2000/10/24 14:53:59 augustss Exp $        */
+/*     $NetBSD: urio.c,v 1.5.6.1 2001/09/08 18:28:29 thorpej Exp $     */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -566,6 +566,13 @@
        return (0);
 }
 
+int
+uriokqfilter(dev_t dev, struct knote *kn)
+{
+
+       return (1);
+}
+
 #if defined(__FreeBSD__)
 DRIVER_MODULE(urio, uhub, urio_driver, urio_devclass, usbd_driver_load, 0);
 #endif /* defined(__FreeBSD__) */



Home | Main Index | Thread Index | Old Index