diff options
| author | augustss <augustss@NetBSD.org> | 2002-10-24 01:36:34 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 2002-10-24 01:36:34 +0000 |
| commit | ec2ec8eeeb79eb5f52facad540fa443d4381b237 (patch) | |
| tree | 7c8fee10fa387d3a58c9847811320badb8c11452 /sys/dev/bluetooth | |
| parent | c84fb609f6ed332a153d2db3327a69960670f367 (diff) | |
g/c IRDA ioctls (was within #if 0 anyway)
Fix kqueue pasto.
Diffstat (limited to 'sys/dev/bluetooth')
| -rw-r--r-- | sys/dev/bluetooth/bthci.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/sys/dev/bluetooth/bthci.c b/sys/dev/bluetooth/bthci.c index a052f40b763..595add903b1 100644 --- a/sys/dev/bluetooth/bthci.c +++ b/sys/dev/bluetooth/bthci.c @@ -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 @@ bthciioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) 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 @@ bthcikqfilter(dev_t dev, struct knote *kn) 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)); } |
