Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/landisk/dev/button.c
RevisionDateAuthorComments
 1.15  29-Sep-2021  thorpej Confirm to the NOTE_SUBMIT protocol. With this, btn_read_filtops is MPSAFE.
 1.14  26-Sep-2021  thorpej Driver "kqfilter" entry points return an error code, so if an invalid
filter is requested, return EINVAL rather than 1.
 1.13  26-Sep-2021  thorpej Use seltrue_filtops rather than rolling our own with filt_seltrue.
 1.12  26-Sep-2021  thorpej Change the kqueue filterops::f_isfd field to filterops::f_flags, and
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
 1.11  15-Jul-2021  rin Migrate btn_init() from btnopen() (with RUN_ONCE) to btn_obio_attach().

Fix uninitialized use of btn_event_list_lock in btn_event_register().

Found by LOCKDEBUG.
 1.10  19-Dec-2020  thorpej branches: 1.10.4;
Use sel{record,remove}_knote().
 1.9  25-Oct-2017  maya branches: 1.9.16;
Use C99 initializer for filterops

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,
};
 1.8  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.7  16-Mar-2014  dholland branches: 1.7.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.6  14-May-2011  rmind branches: 1.6.4; 1.6.14; 1.6.18;
Convert to mutex(9)/condvar(9). Use RUN_ONCE(9) to avoid racy init.
 1.5  01-Mar-2008  rmind branches: 1.5.26; 1.5.32;
Welcome to 4.99.55:

- 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>
 1.4  07-Jan-2008  ad branches: 1.4.2; 1.4.6;
Remove vestiges of simplelock debugging.
 1.3  05-Jan-2008  ad Fix includes
 1.2  04-Mar-2007  christos branches: 1.2.20; 1.2.26; 1.2.32;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1  01-Sep-2006  uwe branches: 1.1.2; 1.1.6; 1.1.12; 1.1.14;
Initial import of NetBSD/landisk port by NONAKA Kimihiro <nonaka@NetBSD.org>
 1.1.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.1.12.5  17-Mar-2008  yamt sync with head.
 1.1.12.4  21-Jan-2008  yamt sync with head
 1.1.12.3  03-Sep-2007  yamt sync with head.
 1.1.12.2  30-Dec-2006  yamt sync with head.
 1.1.12.1  01-Sep-2006  yamt file button.c was added on branch yamt-lazymbuf on 2006-12-30 20:46:21 +0000
 1.1.6.2  09-Sep-2006  rpaulo sync with head
 1.1.6.1  01-Sep-2006  rpaulo file button.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:40:48 +0000
 1.1.2.2  03-Sep-2006  yamt sync with head.
 1.1.2.1  01-Sep-2006  yamt file button.c was added on branch yamt-pdpolicy on 2006-09-03 15:23:07 +0000
 1.2.32.1  08-Jan-2008  bouyer Sync with HEAD
 1.2.26.1  18-Feb-2008  mjf Sync with HEAD.
 1.2.20.2  23-Mar-2008  matt sync with HEAD
 1.2.20.1  09-Jan-2008  matt sync with HEAD
 1.4.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.4.2.1  24-Mar-2008  keiichi sync with head.
 1.5.32.1  06-Jun-2011  jruoho Sync with HEAD.
 1.5.26.1  31-May-2011  rmind sync with head
 1.6.18.1  18-May-2014  rmind sync with head
 1.6.14.2  03-Dec-2017  jdolecek update from HEAD
 1.6.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.2.1  10-Aug-2014  tls Rebase.
 1.9.16.1  03-Jan-2021  thorpej Sync w/ HEAD.
 1.10.4.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed