si_ -> sel_

This commit is contained in:
christos 2002-11-26 19:49:00 +00:00
parent e4637c735b
commit 729ccbc9cd
23 changed files with 85 additions and 85 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: event.c,v 1.8 2002/10/23 09:10:30 jdolecek Exp $ */
/* $NetBSD: event.c,v 1.9 2002/11/26 19:50:20 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: event.c,v 1.8 2002/10/23 09:10:30 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: event.c,v 1.9 2002/11/26 19:50:20 christos Exp $");
/*
* Internal `Firm_event' interface for the keyboard and mouse drivers.
@ -170,7 +170,7 @@ filt_evrdetach(struct knote *kn)
int s;
s = splev();
SLIST_REMOVE(&ev->ev_sel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -204,7 +204,7 @@ ev_kqfilter(struct evvar *ev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &ev->ev_sel.si_klist;
klist = &ev->ev_sel.sel_klist;
kn->kn_fop = &ev_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: opms.c,v 1.6 2002/10/25 07:47:56 jdolecek Exp $ */
/* $NetBSD: opms.c,v 1.7 2002/11/26 19:50:21 christos Exp $ */
/* $OpenBSD: pccons.c,v 1.22 1999/01/30 22:39:37 imp Exp $ */
/* NetBSD: pms.c,v 1.21 1995/04/18 02:25:18 mycroft Exp */
@ -433,7 +433,7 @@ filt_opmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -458,7 +458,7 @@ opmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &opmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: opms.c,v 1.3 2002/10/23 09:10:43 jdolecek Exp $ */
/* $NetBSD: opms.c,v 1.4 2002/11/26 19:50:22 christos Exp $ */
/*-
* Copyright (c) 1996 D.C. Tsen
@ -41,7 +41,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: opms.c,v 1.3 2002/10/23 09:10:43 jdolecek Exp $");
__RCSID("$NetBSD: opms.c,v 1.4 2002/11/26 19:50:22 christos Exp $");
#include <sys/kernel.h>
#include <sys/systm.h>
@ -665,7 +665,7 @@ filt_opmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -690,7 +690,7 @@ opmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &opmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: qms.c,v 1.3 2002/10/23 09:10:43 jdolecek Exp $ */
/* $NetBSD: qms.c,v 1.4 2002/11/26 19:50:22 christos Exp $ */
/*
* Copyright (c) Scott Stevens 1995 All rights reserved
@ -486,7 +486,7 @@ filt_qmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -511,7 +511,7 @@ qmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &qmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: event.c,v 1.6 2002/10/23 09:10:49 jdolecek Exp $ */
/* $NetBSD: event.c,v 1.7 2002/11/26 19:50:22 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@ -174,7 +174,7 @@ filt_evrdetach(struct knote *kn)
int s;
s = splev();
SLIST_REMOVE(&ev->ev_sel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -208,7 +208,7 @@ ev_kqfilter(struct evvar *ev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &ev->ev_sel.si_klist;
klist = &ev->ev_sel.sel_klist;
kn->kn_fop = &ev_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: lms.c,v 1.9 2002/10/23 09:10:56 jdolecek Exp $ */
/* $NetBSD: lms.c,v 1.10 2002/11/26 19:50:23 christos Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles M. Hannum.
@ -398,7 +398,7 @@ filt_lmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -423,7 +423,7 @@ lmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &lmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mms.c,v 1.10 2002/10/23 09:10:56 jdolecek Exp $ */
/* $NetBSD: mms.c,v 1.11 2002/11/26 19:50:23 christos Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles M. Hannum.
@ -375,7 +375,7 @@ filt_mmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -400,7 +400,7 @@ mmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &mmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hil.c,v 1.52 2002/10/23 09:11:05 jdolecek Exp $ */
/* $NetBSD: hil.c,v 1.53 2002/11/26 19:50:23 christos Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hil.c,v 1.52 2002/10/23 09:11:05 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: hil.c,v 1.53 2002/11/26 19:50:23 christos Exp $");
#include "opt_compat_hpux.h"
#include "rnd.h"
@ -847,7 +847,7 @@ filt_hilrdetach(struct knote *kn)
int s;
s = splhil();
SLIST_REMOVE(&dptr->hd_selr.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&dptr->hd_selr.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -919,12 +919,12 @@ hilkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &dptr->hd_selr.si_klist;
klist = &dptr->hd_selr.sel_klist;
kn->kn_fop = &hilread_filtops;
break;
case EVFILT_WRITE:
klist = &dptr->hd_selr.si_klist;
klist = &dptr->hd_selr.sel_klist;
kn->kn_fop = &hil_seltrue_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: apmdev.c,v 1.13 2002/10/23 09:11:17 jdolecek Exp $ */
/* $NetBSD: apmdev.c,v 1.14 2002/11/26 19:50:24 christos Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -941,7 +941,7 @@ filt_apmrdetach(struct knote *kn)
struct apm_softc *sc = kn->kn_hook;
APM_LOCK(sc);
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
APM_UNLOCK(sc);
}
@ -965,7 +965,7 @@ apmdevkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &apmread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: apm.c,v 1.74 2002/10/23 09:11:19 jdolecek Exp $ */
/* $NetBSD: apm.c,v 1.75 2002/11/26 19:50:24 christos Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.74 2002/10/23 09:11:19 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.75 2002/11/26 19:50:24 christos Exp $");
#include "apm.h"
#if NAPM > 1
@ -1824,7 +1824,7 @@ filt_apmrdetach(struct knote *kn)
struct apm_softc *sc = kn->kn_hook;
APM_LOCK(sc);
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
APM_UNLOCK(sc);
}
@ -1848,7 +1848,7 @@ apmkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &apmread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: olms.c,v 1.9 2002/10/23 09:11:21 jdolecek Exp $ */
/* $NetBSD: olms.c,v 1.10 2002/11/26 19:50:25 christos Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles M. Hannum.
@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: olms.c,v 1.9 2002/10/23 09:11:21 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: olms.c,v 1.10 2002/11/26 19:50:25 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -421,7 +421,7 @@ filt_lmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -446,7 +446,7 @@ lmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &lmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: omms.c,v 1.9 2002/10/23 09:11:22 jdolecek Exp $ */
/* $NetBSD: omms.c,v 1.10 2002/11/26 19:50:26 christos Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles M. Hannum.
@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: omms.c,v 1.9 2002/10/23 09:11:22 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: omms.c,v 1.10 2002/11/26 19:50:26 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -417,7 +417,7 @@ filt_mmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -442,7 +442,7 @@ mmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &mmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: aed.c,v 1.15 2002/10/23 09:11:28 jdolecek Exp $ */
/* $NetBSD: aed.c,v 1.16 2002/11/26 19:50:26 christos Exp $ */
/*
* Copyright (C) 1994 Bradley A. Grantham
@ -608,7 +608,7 @@ filt_aedrdetach(struct knote *kn)
int s;
s = spladb();
SLIST_REMOVE(&aed_sc->sc_selinfo.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&aed_sc->sc_selinfo.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -634,12 +634,12 @@ aedkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &aed_sc->sc_selinfo.si_klist;
klist = &aed_sc->sc_selinfo.sel_klist;
kn->kn_fop = &aedread_filtops;
break;
case EVFILT_WRITE:
klist = &aed_sc->sc_selinfo.si_klist;
klist = &aed_sc->sc_selinfo.sel_klist;
kn->kn_fop = &aed_seltrue_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: aed.c,v 1.10 2002/10/23 09:11:32 jdolecek Exp $ */
/* $NetBSD: aed.c,v 1.11 2002/11/26 19:50:27 christos Exp $ */
/*
* Copyright (C) 1994 Bradley A. Grantham
@ -609,7 +609,7 @@ filt_aedrdetach(struct knote *kn)
int s;
s = spladb();
SLIST_REMOVE(&aed_sc->sc_selinfo.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&aed_sc->sc_selinfo.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -635,12 +635,12 @@ aedkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &aed_sc->sc_selinfo.si_klist;
klist = &aed_sc->sc_selinfo.sel_klist;
kn->kn_fop = &aedread_filtops;
break;
case EVFILT_WRITE:
klist = &aed_sc->sc_selinfo.si_klist;
klist = &aed_sc->sc_selinfo.sel_klist;
kn->kn_fop = &aed_seltrue_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: apm.c,v 1.5 2002/10/23 09:11:32 jdolecek Exp $ */
/* $NetBSD: apm.c,v 1.6 2002/11/26 19:50:27 christos Exp $ */
/* $OpenBSD: apm.c,v 1.5 2002/06/07 07:13:59 miod Exp $ */
/*-
@ -429,7 +429,7 @@ filt_apmrdetach(struct knote *kn)
struct apm_softc *sc = (struct apm_softc *)kn->kn_hook;
APM_LOCK(sc);
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
APM_UNLOCK(sc);
}
@ -455,7 +455,7 @@ apmkqfilter(dev, kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &apmread_filtops;
break;
default:

View File

@ -1,4 +1,4 @@
/* $NetBSD: fb_usrreq.c,v 1.24 2002/10/23 09:11:49 jdolecek Exp $ */
/* $NetBSD: fb_usrreq.c,v 1.25 2002/11/26 19:50:27 christos Exp $ */
#include <sys/conf.h>
@ -275,7 +275,7 @@ filt_fbrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&fi->fi_selp.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&fi->fi_selp.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -303,7 +303,7 @@ fbkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &fi->fi_selp.si_klist;
klist = &fi->fi_selp.sel_klist;
kn->kn_fop = &fbread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: px.c,v 1.43 2002/10/23 09:11:50 jdolecek Exp $ */
/* $NetBSD: px.c,v 1.44 2002/11/26 19:50:28 christos Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -43,7 +43,7 @@
#endif
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: px.c,v 1.43 2002/10/23 09:11:50 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: px.c,v 1.44 2002/11/26 19:50:28 christos Exp $");
/*
* px.c: driver for the DEC TURBOchannel 2D and 3D accelerated framebuffers
@ -1890,7 +1890,7 @@ filt_pxrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&fi->fi_selp.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&fi->fi_selp.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -1918,7 +1918,7 @@ pxkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &fi->fi_selp.si_klist;
klist = &fi->fi_selp.sel_klist;
kn->kn_fop = &pxread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: opms.c,v 1.7 2002/10/23 09:12:01 jdolecek Exp $ */
/* $NetBSD: opms.c,v 1.8 2002/11/26 19:50:29 christos Exp $ */
/*
* Copyright 1997
@ -994,7 +994,7 @@ filt_opmsrdetach(struct knote *kn)
int s;
s = spltty();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -1019,7 +1019,7 @@ opmskqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &opmsread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tctrl.c,v 1.20 2002/10/23 09:12:10 jdolecek Exp $ */
/* $NetBSD: tctrl.c,v 1.21 2002/11/26 19:50:29 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -1219,7 +1219,7 @@ filt_tctrlrdetach(struct knote *kn)
int s;
s = splts102();
SLIST_REMOVE(&sc->sc_rsel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -1244,7 +1244,7 @@ tctrlkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->sc_rsel.si_klist;
klist = &sc->sc_rsel.sel_klist;
kn->kn_fop = &tctrlread_filtops;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: event.c,v 1.6 2002/10/23 09:12:42 jdolecek Exp $ */
/* $NetBSD: event.c,v 1.7 2002/11/26 19:50:30 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@ -173,7 +173,7 @@ filt_evrdetach(struct knote *kn)
int s;
s = splev();
SLIST_REMOVE(&ev->ev_sel.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -207,7 +207,7 @@ ev_kqfilter(struct evvar *ev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &ev->ev_sel.si_klist;
klist = &ev->ev_sel.sel_klist;
kn->kn_fop = &ev_filtops;
break;

View File

@ -27,7 +27,7 @@
* i4b_i4bdrv.c - i4b userland interface driver
* --------------------------------------------
*
* $Id: i4b_i4bdrv.c,v 1.21 2002/10/23 09:14:45 jdolecek Exp $
* $Id: i4b_i4bdrv.c,v 1.22 2002/11/26 19:49:00 christos Exp $
*
* $FreeBSD$
*
@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i4b_i4bdrv.c,v 1.21 2002/10/23 09:14:45 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: i4b_i4bdrv.c,v 1.22 2002/11/26 19:49:00 christos Exp $");
#include "isdn.h"
@ -949,7 +949,7 @@ filt_i4brdetach(struct knote *kn)
int s;
s = splnet();
SLIST_REMOVE(&select_rd_info.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&select_rd_info.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -981,12 +981,12 @@ isdnkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &select_rd_info.si_klist;
klist = &select_rd_info.sel_klist;
kn->kn_fop = &i4bread_filtops;
break;
case EVFILT_WRITE:
klist = &select_rd_info.si_klist;
klist = &select_rd_info.sel_klist;
kn->kn_fop = &i4b_seltrue_filtops;
break;

View File

@ -27,7 +27,7 @@
* i4b_rbch.c - device driver for raw B channel data
* ---------------------------------------------------
*
* $Id: i4b_rbch.c,v 1.11 2002/10/23 09:14:45 jdolecek Exp $
* $Id: i4b_rbch.c,v 1.12 2002/11/26 19:49:00 christos Exp $
*
* $FreeBSD$
*
@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i4b_rbch.c,v 1.11 2002/10/23 09:14:45 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: i4b_rbch.c,v 1.12 2002/11/26 19:49:00 christos Exp $");
#include "isdnbchan.h"
@ -804,7 +804,7 @@ filt_i4brbchdetach(struct knote *kn)
int s;
s = splhigh();
SLIST_REMOVE(&sc->selp.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->selp.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -859,12 +859,12 @@ isdnbchankqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->selp.si_klist;
klist = &sc->selp.sel_klist;
kn->kn_fop = &i4brbchread_filtops;
break;
case EVFILT_WRITE:
klist = &sc->selp.si_klist;
klist = &sc->selp.sel_klist;
kn->kn_fop = &i4brbchwrite_filtops;
break;

View File

@ -27,7 +27,7 @@
* i4b_tel.c - device driver for ISDN telephony
* --------------------------------------------
*
* $Id: i4b_tel.c,v 1.11 2002/10/23 09:14:46 jdolecek Exp $
* $Id: i4b_tel.c,v 1.12 2002/11/26 19:49:01 christos Exp $
*
* $FreeBSD$
*
@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: i4b_tel.c,v 1.11 2002/10/23 09:14:46 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: i4b_tel.c,v 1.12 2002/11/26 19:49:01 christos Exp $");
#include "isdntel.h"
@ -947,7 +947,7 @@ filt_i4btel_detach(struct knote *kn)
int s;
s = splhigh();
SLIST_REMOVE(&sc->selp.si_klist, kn, knote, kn_selnext);
SLIST_REMOVE(&sc->selp.sel_klist, kn, knote, kn_selnext);
splx(s);
}
@ -1019,7 +1019,7 @@ isdntelkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
klist = &sc->selp.si_klist;
klist = &sc->selp.sel_klist;
if (func == FUNCTEL)
kn->kn_fop = &i4btel_telread_filtops;
else if (func == FUNCDIAL)
@ -1029,7 +1029,7 @@ isdntelkqfilter(dev_t dev, struct knote *kn)
break;
case EVFILT_WRITE:
klist = &sc->selp.si_klist;
klist = &sc->selp.sel_klist;
if (func == FUNCTEL)
kn->kn_fop = &i4btel_telwrite_filtops;
else if (func == FUNCDIAL)