summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/event.c
AgeCommit message (Collapse)Author
2021-09-26Driver "kqfilter" entry points return an error code, so if an invalidthorpej
filter is requested, return EINVAL rather than 1.
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD. This does not constitute a functional or ABI change, as the field location and size, and the value placed in that field, are the same as the previous code, but we're bumping __NetBSD_Version__ so 3rd-party module source code can adapt, as needed. NetBSD 9.99.89
2020-12-19Use sel{record,remove}_knote().thorpej
2017-10-25Use C99 initializer for filteropsmaya
Mostly done with spatch with touchups for indentation @@ expression a; identifier b,c,d; identifier p; @@ const struct filterops p = - { a, b, c, d + { + .f_isfd = a, + .f_attach = b, + .f_detach = c, + .f_event = d, };
2008-03-01Welcome to 4.99.55:rmind
- Add a lot of missing selinit() and seldestroy() calls. - Merge selwakeup() and selnotify() calls into a single selnotify(). - Add an additional 'events' argument to selnotify() call. It will indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown, zero may be used. Note: please pass appropriate value of 'events' where possible. Proposed on: <tech-kern>
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2005-12-11merge ktrace-lwp.christos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2002-11-26si_ -> sel_christos
2002-10-23merge kqueue branch into -currentjdolecek
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-01-28add __KERNEL_RCSID as suggested by Luke Mewburnaymeric
2002-01-26- ANSIfyaymeric
- remove some trailing spaces/tabs - minor style nits
1996-10-11Changes for poll(2).mhitch
1996-10-08Merge netbsd-1-2 branch back into mainline.thorpej
1994-10-26new RCS ID format.cgd
1994-02-13cleaned up include's relocated grf/* stuf to grfabs*.chopps
1994-01-26Integrate recent changes done to the amiga branch. Includes supportmw
for the '40. Support for more scsi controllers (zeus, magnum) Support for more tapes (in st.c) New custom chip console code integrated.