Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/bluetooth g/c IRDA ioctls (was within #if 0 anyway)
details: https://anonhg.NetBSD.org/src/rev/8dce4d58d31f
branches: trunk
changeset: 538640:8dce4d58d31f
user: augustss <augustss%NetBSD.org@localhost>
date: Thu Oct 24 01:36:34 2002 +0000
description:
g/c IRDA ioctls (was within #if 0 anyway)
Fix kqueue pasto.
diffstat:
sys/dev/bluetooth/bthci.c | 20 ++------------------
1 files changed, 2 insertions(+), 18 deletions(-)
diffs (39 lines):
diff -r 28c76625050f -r 8dce4d58d31f sys/dev/bluetooth/bthci.c
--- a/sys/dev/bluetooth/bthci.c Wed Oct 23 22:57:40 2002 +0000
+++ b/sys/dev/bluetooth/bthci.c Thu Oct 24 01:36:34 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bthci.c,v 1.9 2002/10/23 09:13:08 jdolecek Exp $ */
+/* $NetBSD: bthci.c,v 1.10 2002/10/24 01:36:34 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -254,22 +254,6 @@
error = 0;
break;
- case IRDA_SET_PARAMS:
- error = irf_set_params(sc, vaddr);
- break;
-
- case IRDA_RESET_PARAMS:
- error = irf_reset_params(sc);
- break;
-
- case IRDA_GET_SPEEDMASK:
- error = sc->sc_methods->im_get_speeds(sc->sc_handle, vaddr);
- break;
-
- case IRDA_GET_TURNAROUNDMASK:
- error = sc->sc_methods->im_get_turnarounds(sc->sc_handle,vaddr);
- break;
-
default:
error = EINVAL;
break;
@@ -303,5 +287,5 @@
if ((sc->sc_dev.dv_flags & DVF_ACTIVE) == 0 || !sc->sc_open)
return (EIO);
- return (sc->sc_methods->bt_kqfilter(sc->sc_handle, events, p));
+ return (sc->sc_methods->bt_kqfilter(sc->sc_handle, kn));
}
Home |
Main Index |
Thread Index |
Old Index