#
12ae65d9 |
| 26-Sep-2021 |
thorpej <thorpej@NetBSD.org> |
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 con
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
show more ...
|
#
2682e5ac |
| 19-Dec-2020 |
thorpej <thorpej@NetBSD.org> |
Use sel{record,remove}_knote().
|
#
3106ab01 |
| 21-Jul-2018 |
maya <maya@NetBSD.org> |
Remove unused variable.
|
#
18b796d4 |
| 25-Oct-2017 |
maya <maya@NetBSD.org> |
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_isf
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, };
show more ...
|
#
f9228f42 |
| 25-Jul-2014 |
dholland <dholland@NetBSD.org> |
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
#
a68f9396 |
| 16-Mar-2014 |
dholland <dholland@NetBSD.org> |
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
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.
show more ...
|
#
96aaef2d |
| 09-Nov-2013 |
christos <christos@NetBSD.org> |
fixed unused variable warning
|
#
a24d0230 |
| 03-Oct-2012 |
christos <christos@NetBSD.org> |
remove diagnostic printfs to make this compile again.
|
#
5eb5222c |
| 30-Sep-2012 |
dsl <dsl@NetBSD.org> |
Remove code from dev/apm/apm.c for setting global variables to parameterise the i386 bios apm code (now removed). Remove the same code from the clone dev/hpc/apm/apmdev.c Remove some not-used optio
Remove code from dev/apm/apm.c for setting global variables to parameterise the i386 bios apm code (now removed). Remove the same code from the clone dev/hpc/apm/apmdev.c Remove some not-used options from dev/apm/files.apm and the commented out lines in ALL and GENERIC. Maybe the APM_V10_ONLY and APM_NO_V12 could also be shot, but they are further entwined in the code.
show more ...
|
#
3eb244d8 |
| 17-Jul-2011 |
joerg <joerg@NetBSD.org> |
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce a
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
show more ...
|
#
dbd9b867 |
| 23-Nov-2009 |
rmind <rmind@NetBSD.org> |
Remove some unecessary includes sys/user.h header.
|
#
30f9f983 |
| 03-Apr-2009 |
uwe <uwe@NetBSD.org> |
Use dev/apm/files.apm for APM options in opt_apm.h.
Now both apm and apmdev files.apm can be included so you can switch from apmdev0 to apm0 at hpcapm0 in your kernel config easily.
|
#
9a25b0cb |
| 03-Apr-2009 |
uwe <uwe@NetBSD.org> |
Switch apmdev to use apm(4) structures from dev/apm/apmvar.h. Add batteryid argument to aa_get_powstat method implementations.
|
#
7cbde2c0 |
| 03-Apr-2009 |
uwe <uwe@NetBSD.org> |
Further reduce diffs to dev/apm/apm.c.
Bring over remaining bits of logic not picked up in the first round. Main semantic difference between the two that ramins is now basically powerhooks vs. pmf.
Further reduce diffs to dev/apm/apm.c.
Bring over remaining bits of logic not picked up in the first round. Main semantic difference between the two that ramins is now basically powerhooks vs. pmf.
Cosmetics to reduce diff noise: split apmattach into apmdevattach and apm_attach, where the latter matches its counterpart in the real apm.c. Change local macros names from APMDEV* to APM*
Now that apmdev.c is demonstrably congruent to apm.c it should be easier to switch hpc* and zaurus ports to apm.c from apmdev.c. apmdev.c is one of the only two remaining drivers that call dopowerhooks(9), the other one being arch/arm/xscale/pxa2x0_apm.c.
Ideally I would prefer for them to be interchangeable to smooth the transition (in pmf world order *all* devices must have pmf hooks registered), but they are attached differently - apmdev is separate from its backend device (like hpcapm), while apm.c backends are attachment glue, not separate devices.
show more ...
|
#
1cfa6cdc |
| 30-Mar-2009 |
uwe <uwe@NetBSD.org> |
Split device_t and softc, use aprint_*, rename/reformat stuff to minimize diffs to dev/apm/apm.c (even at the cost of uglification).
Tested on Jornada 690 (hpcsh).
|
#
cf990769 |
| 12-Jun-2008 |
rafal <rafal@NetBSD.org> |
device_private_lookup()-ification so that hpcarm (at jeast Jornada 72x) kernels build.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
0e50a946 |
| 06-Apr-2008 |
cegger <cegger@NetBSD.org> |
use aprint_*_dev and device_xname
|
#
c6186fac |
| 01-Mar-2008 |
rmind <rmind@NetBSD.org> |
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
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>
show more ...
|
#
0790e7df |
| 14-Dec-2007 |
uwe <uwe@NetBSD.org> |
Complete lockmgr->mutex conversion started in 1.12. Mutex needs to be inited with mutex_init. Since mutex ops return void, drop (void) cast from APM_(UN)LOCK.
|
#
4e38160d |
| 05-Dec-2007 |
pooka <pooka@NetBSD.org> |
Do not "return 1" from kqfilter for errors. That value is passed directly to the userland caller and results in a mysterious EPERM. Instead, return EINVAL or something else sensible depending on the
Do not "return 1" from kqfilter for errors. That value is passed directly to the userland caller and results in a mysterious EPERM. Instead, return EINVAL or something else sensible depending on the case.
show more ...
|
#
6874e511 |
| 05-Dec-2007 |
ad <ad@NetBSD.org> |
lockmgr -> mutex
|
#
faf0f436 |
| 10-Jul-2007 |
nonaka <nonaka@NetBSD.org> |
Fix compile failure occured kthread API changes.
|
#
88ab7da9 |
| 09-Jul-2007 |
ad <ad@NetBSD.org> |
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|